Towards a taxonomy of code review smells

被引:0
|
作者
Doğan, Emre [1 ]
Tüzün, Eray [1 ]
机构
[1] Bilkent University, Department of Computer Engineering, Ankara, Turkey
关键词
Open systems - Open source software - Odors - Life cycle - Software design;
D O I
暂无
中图分类号
学科分类号
摘要
Context: Code review is a crucial step of the software development life cycle in order to detect possible problems in source code before merging the changeset to the codebase. Although there is no consensus on a formally defined life cycle of the code review process, many companies and open source software (OSS) communities converge on common rules and best practices. In spite of minor differences in different platforms, the primary purpose of all these rules and practices leads to a faster and more effective code review process. Non-conformance of developers to this process does not only reduce the advantages of the code review but can also introduce waste in later stages of the software development. Objectives: The aim of this study is to provide an empirical understanding of the bad practices followed in the code review process, that are code review (CR) smells. Methods: We first conduct a multivocal literature review in order to gather code review bad practices discussed in white and gray literature. Then, we conduct a targeted survey with 32 experienced software practitioners and perform follow-up interviews in order to get their expert opinion. Based on this process, a taxonomy of code review smells is introduced. To quantitatively demonstrate the existence of these smells, we analyze 226,292 code reviews collected from eight OSS projects. Results: We observe that a considerable number of code review smells exist in all projects with varying degrees of ratios. The empirical results illustrate that 72.2% of the code reviews among eight projects are affected by at least one code review smell. Conclusion: The empirical analysis shows that the OSS projects are substantially affected by the code review smells. The provided taxonomy could provide a foundation for best practices and tool support to detect and avoid code review smells in practice. © 2021
引用
收藏
相关论文
共 50 条
  • [1] Towards a taxonomy of code review smells
    Dogan, Emre
    Tuzun, Eray
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 142
  • [2] Towards a Taxonomy of Inline Code Comment Smells
    Jabrayilzade, Elgun
    Gurkan, Olcaytu
    Tuzun, Eray
    IEEE 21ST INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2021), 2021, : 131 - 135
  • [3] Towards a Taxonomy of Grammar Smells
    Stijlaart, Mats
    Zaytsev, Vadim
    SLE'17: PROCEEDINGS OF THE 10TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING, 2017, : 43 - 54
  • [4] Taxonomy of inline code comment smells
    Jabrayilzade, Elgun
    Yurtoglu, Ayda
    Tuzun, Eray
    EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (03)
  • [5] A taxonomy and an initial empirical study of bad smells in code
    Mäntylä, M
    Vanhanen, J
    Lassenius, C
    INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2003, : 381 - 384
  • [6] Toward a novel taxonomy to capture code smells caused by refactoring
    Alkhomsan, Mashail N.
    Alshayeb, Mohammad
    Baslyman, Malak
    SCIENCE OF COMPUTER PROGRAMMING, 2024, 236
  • [7] Towards Effective Teams for the Identification of Code Smells
    de Mello, Rafael
    Oliveira, Roberto
    Sousa, Leonardo
    Garcia, Alessandro
    2017 IEEE/ACM 10TH INTERNATIONAL WORKSHOP ON COOPERATIVE AND HUMAN ASPECTS OF SOFTWARE ENGINEERING (CHASE 2017), 2017, : 62 - 65
  • [8] Towards a catalogue of refactorings and code smells for AspectJ
    Monteiro, MP
    Fernandes, JM
    TRANSACTIONS ON ASPECT-ORIENTED SOFTWARE DEVELOPMENT I, 2006, 3880 : 214 - 258
  • [9] Towards a systematic approach to manual annotation of code smells
    Slivka, Jelena
    Luburic, Nikola
    Prokic, Simona
    Grujic, Katarina-Glorija
    Kovacevic, Aleksandar
    Sladic, Goran
    Vidakovic, Dragan
    SCIENCE OF COMPUTER PROGRAMMING, 2023, 230
  • [10] Towards a systematic approach to manual annotation of code smells
    Faculty of Technical Sciences, University of Novi Sad, Serbia
    TechRxiv, 1600,