Insight into a method co-change pattern to identify highly coupled methods: An empirical study
- 1 May 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10928138,p. 103-112
Abstract
In this paper, we describe an empirical study of a unique method co-change pattern that has the potential to pinpoint design deficiency in a software system. We automatically identify this pattern by inspecting the method co-change history using reasonable constraints on method association rules. We also investigate the effect of code clones on the method co-changes identified according to the pattern, because there is a common intuition that clone fragments from the same clone class often require corresponding changes to ensure they remain consistent with each other. According to our in-depth investigation on hundreds of revisions of seven open-source software systems considering three types of clones (Type 1, Type 2, Type 3), our identified pattern helps us detect methods that are logically coupled with multiple other methods and that exhibit a significantly higher modification frequency than other methods. We call the methods detected by the pattern MMCGs (Methods appearing in Multiple Commit Groups) considering the pattern semantic. MMCGs can be considered as the candidates for restructuring in order to minimize coupling as well as to reduce the change-proneness of a software system. According to our observation, code clones have a significant effect on method co-changes as well as on MMCGs. We believe that clone refactoring can help us minimize evolutionary coupling among methods.Keywords
This publication has 23 references indexed in Scilit:
- An Exploratory Study of Macro Co-changes2011
- Is duplicate code more frequently modified than non-duplicate code in software evolution?2010
- A Mutation/Injection-Based Automatic Framework for Evaluating Code Clone Detection Tools2009
- Assessing the effect of clones on changeability2008
- Assessing software archives with evolutionary clusters2008
- An empirical study of fine-grained software modificationsEmpirical Software Engineering, 2006
- Exploring evolutionary coupling in Eclipse2005
- Predicting change propagation in software systems2004
- Detection of logical coupling based on product release history2002
- A software metric system for module couplingJournal of Systems and Software, 1993