Partitioning Composite Code Changes to Facilitate Code Review
Authors:
- Sunghun KimSKSunghun Kim
- 1 May 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 21601852,p. 180-190
Abstract
Developers expend significant effort on reviewing source code changes. Hence, the comprehensibility of code changes directly affects development productivity. Our prior study has suggested that composite code changes, which mix multiple development issues together, are typically difficult to review. Unfortunately, our manual inspection of 453 open source code changes reveals a non-trivial occurrence (up to 29%) of such composite changes. In this paper, we propose a heuristic-based approach to automatically partition composite changes, such that each sub-change in the partition is more cohesive and self-contained. Our quantitative and qualitative evaluation results are promising in demonstrating the potential benefits of our approach for facilitating code review of composite code changes.Keywords
This publication has 26 references indexed in Scilit:
- Helping Developers Help Themselves: Automatic Decomposition of Code Review Changesets2015
- Non-essential changes in version histories2011
- A Controlled Experiment for Program Comprehension through Trace VisualizationIEEE Transactions on Software Engineering, 2010
- Discovering and representing systematic code changes2009
- Change Distilling:Tree Differencing for Fine-Grained Source Code Change ExtractionIEEE Transactions on Software Engineering, 2007
- Interactive Views to Improve the Comprehension of UML Models - An Experimental Validation2007
- Factoring Differences for Iterative Change Management2006
- Program slicing: methods and applications2002
- Understanding function behaviors through program slicing1996
- Using program slicing in software maintenanceIEEE Transactions on Software Engineering, 1991