Investigating Code Review Practices in Defective Files: An Empirical Study of the Qt System
Authors:
- Shane McIntoshSMShane McIntosh
- Ahmed E. HassanAHAhmed E. Hassan
- Hajimu IidaHIHajimu Iida
- 1 May 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 21601852,p. 168-179
Abstract
Software code review is a well-established software quality practice. Recently, Modern Code Review (MCR) has been widely adopted in both open source and proprietary projects. To evaluate the impact that characteristics of MCR practices have on software quality, this paper comparatively studies MCR practices in defective and clean source code files. We investigate defective files along two perspectives: 1) files that will eventually have defects (i.e., Future-defective files) and 2) files that have historically been defective (i.e., Risky files). Through an empirical study of 11,736 reviews of changes to 24,486 files from the Qt open source project, we find that both future-defective files and risky files tend to be reviewed less rigorously than their clean counterparts. We also find that the concerns addressed during the code reviews of both defective and clean files tend to enhance evolvability, i.e., Ease future maintenance (like documentation), rather than focus on functional issues (like incorrect program logic). Our findings suggest that although functionality concerns are rarely addressed during code review, the rigor of the reviewing process that is applied to a source code file throughout a development cycle shares a link with its defect proneness.Keywords
This publication has 34 references indexed in Scilit:
- Let's talk about it: evaluating contributions through discussion in GitHub2014
- Convergent contemporary software peer review practices2013
- How do software engineers understand code changes?2012
- State‐of‐the‐art: software inspections after 25 yearsSoftware Testing, Verification and Reliability, 2002
- Top 10 list [software development]Computer, 2001
- Predicting fault incidence using software change historyIEEE Transactions on Software Engineering, 2000
- The cathedral and the bazaarKnowledge and Policy, 1999
- Understanding the sources of variation in software inspectionsACM Transactions on Software Engineering and Methodology, 1998
- An experiment to assess the cost-benefits of code inspections in large scale software developmentIEEE Transactions on Software Engineering, 1997
- The Measure of Association in a 2 × 2 TableJournal of the Royal Statistical Society. Series A (General), 1963