Publication:
Does code review really remove coding convention violations?

dc.contributor.authorDong Gyun Hanen_US
dc.contributor.authorChaiyong Ragkhitwetsagulen_US
dc.contributor.authorJens Krinkeen_US
dc.contributor.authorMatheus Paixaoen_US
dc.contributor.authorGiovanni Rosaen_US
dc.contributor.otherAmazon.com, Inc.en_US
dc.contributor.otherUniversity College Londonen_US
dc.contributor.otherUniversidade de Fortalezaen_US
dc.contributor.otherUniversità degli Studi del Moliseen_US
dc.contributor.otherMahidol Universityen_US
dc.date.accessioned2020-12-28T04:53:26Z
dc.date.available2020-12-28T04:53:26Z
dc.date.issued2020-09-01en_US
dc.description.abstract© 2020 IEEE. Many software developers perceive technical debt as the biggest problems in their projects. They also perceive code reviews as the most important process to increase code quality. As inconsistent coding style is one source of technical debt, it is no surprise that coding convention violations can lead to patch rejection during code review. However, as most research has focused on developer's perception, it is not clear whether code reviews actually prevent the introduction of coding convention violations and the corresponding technical debt.Therefore, we investigated how coding convention violations are introduced, addressed, and removed during code review by developers. To do this, we analysed 16, 442 code review requests from four projects of the Eclipse community for the introduction of convention violations. Our result shows that convention violations accumulate as code size increases despite changes being reviewed. We also manually investigated 1, 268 code review requests in which convention violations disappear and observed that only a minority of them have been removed because a convention violation has been flagged in a review comment. The investigation results also highlight that one can speed up the code review process by adopting tools for code convention violation detection.en_US
dc.identifier.citationProceedings - 20th IEEE International Working Conference on Source Code Analysis and Manipulation, SCAM 2020. (2020), 43-53en_US
dc.identifier.doi10.1109/SCAM51674.2020.00010en_US
dc.identifier.other2-s2.0-85097645032en_US
dc.identifier.urihttps://repository.li.mahidol.ac.th/handle/20.500.14594/60444
dc.rightsMahidol Universityen_US
dc.rights.holderSCOPUSen_US
dc.source.urihttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=85097645032&origin=inwarden_US
dc.subjectComputer Scienceen_US
dc.subjectEngineeringen_US
dc.titleDoes code review really remove coding convention violations?en_US
dc.typeConference Paperen_US
dspace.entity.typePublication
mu.datasource.scopushttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=85097645032&origin=inwarden_US

Files

Collections