Back to Search
Start Over
The effects of change decomposition on code review—a controlled experiment
- Source :
- PeerJ Computer Science, PeerJ Computer Science, Vol 5, p e193 (2019), PeerJ Computer Science, 5
- Publication Year :
- 2019
- Publisher :
- PeerJ, 2019.
-
Abstract
- Background Code review is a cognitively demanding and time-consuming process. Previous qualitative studies hinted at how decomposing change sets into multiple yet internally coherent ones would improve the reviewing process. So far, literature provided no quantitative analysis of this hypothesis. Aims (1) Quantitatively measure the effects of change decomposition on the outcome of code review (in terms of number of found defects, wrongly reported issues, suggested improvements, time, and understanding); (2) Qualitatively analyze how subjects approach the review and navigate the code, building knowledge and addressing existing issues, in large vs. decomposed changes. Method Controlled experiment using the pull-based development model involving 28 software developers among professionals and graduate students. Results Change decomposition leads to fewer wrongly reported issues, influences how subjects approach and conduct the review activity (by increasing context-seeking), yet impacts neither understanding the change rationale nor the number of found defects. Conclusions Change decomposition reduces the noise for subsequent data analyses but also significantly supports the tasks of the developers in charge of reviewing the changes. As such, commits belonging to different concepts should be separated, adopting this as a best practice in software engineering.
- Subjects :
- FOS: Computer and information sciences
Controlled experiment
General Computer Science
10009 Department of Informatics
Process (engineering)
Computer science
Best practice
02 engineering and technology
000 Computer science, knowledge & systems
Pull-based development model
computer.software_genre
lcsh:QA75.5-76.95
Computer Science - Software Engineering
Software
020204 information systems
0202 electrical engineering, electronic engineering, information engineering
Decomposition (computer science)
Code (cryptography)
0501 psychology and cognitive sciences
1700 General Computer Science
050107 human factors
Code review
business.industry
05 social sciences
Software Engineering
020207 software engineering
Data science
Software Engineering (cs.SE)
Human-Computer Interaction
Change decomposition
Quantitative analysis (finance)
lcsh:Electronic computers. Computer science
business
computer
Qualitative research
Subjects
Details
- ISSN :
- 23765992
- Volume :
- 5
- Database :
- OpenAIRE
- Journal :
- PeerJ Computer Science
- Accession number :
- edsair.doi.dedup.....926df298c79b5e81d2ea8e89e1013dc9