Towards a taxonomy of code review smells

buir.contributor.authorDoğan, Emre
buir.contributor.authorTüzün, Eray
buir.contributor.orcidDoğan,|0000-0002-2558-7624
buir.contributor.orcidTüzün, Emre|0000-0002-5550-7816
dc.citation.epage24en_US
dc.citation.spage1en_US
dc.citation.volumeNumber142en_US
dc.contributor.authorDoğan, Emre
dc.contributor.authorTüzün, Eray
dc.date.accessioned2023-02-21T10:10:31Z
dc.date.available2023-02-21T10:10:31Z
dc.date.issued2021-10-10
dc.departmentDepartment of Computer Engineeringen_US
dc.description.abstractContext: 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. © 2021en_US
dc.description.provenanceSubmitted by Ferman Özavinç (ferman.ozavinc@bilkent.edu.tr) on 2023-02-21T10:10:31Z No. of bitstreams: 1 Towards a taxonomy of code review smells.pdf: 3811328 bytes, checksum: c39a15c23804b8965ac2eef61bb30710 (MD5)en
dc.description.provenanceMade available in DSpace on 2023-02-21T10:10:31Z (GMT). No. of bitstreams: 1 Towards a taxonomy of code review smells.pdf: 3811328 bytes, checksum: c39a15c23804b8965ac2eef61bb30710 (MD5) Previous issue date: 2021-10-10en
dc.identifier.doi10.1016/j.infsof.2021.106737en_US
dc.identifier.eissn1873-6025en_US
dc.identifier.issn0950-5849en_US
dc.identifier.urihttp://hdl.handle.net/11693/111577en_US
dc.language.isoEnglishen_US
dc.publisherElsevieren_US
dc.relation.isversionofhttps://dx.doi.org/10.1016/j.infsof.2021.106737en_US
dc.source.titleInformation and Software Technologyen_US
dc.subjectBad practicesen_US
dc.subjectCode review smellen_US
dc.subjectConformance checkingen_US
dc.subjectModern code reviewen_US
dc.subjectProcess debt; Process smellen_US
dc.titleTowards a taxonomy of code review smellsen_US
dc.typeArticleen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Towards a taxonomy of code review smells.pdf
Size:
3.63 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.69 KB
Format:
Item-specific license agreed upon to submission
Description: