DocumentCode :
3248584
Title :
Insight into a method co-change pattern to identify highly coupled methods: An empirical study
Author :
Mondal, Malay ; Roy, Chanchal K. ; Schneider, Kevin A.
Author_Institution :
Dept. of Comput. Sci., Univ. of Saskatchewan, Saskatoon, SK, Canada
fYear :
2013
fDate :
20-21 May 2013
Firstpage :
103
Lastpage :
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 :
data mining; open systems; public domain software; software maintenance; MMCGs pattern; change-proneness reduction; clone fragments; clone refactoring; code clone effect; detect methods; evolutionary coupling minimization; highly coupled methods; method association rules; method co-change history; method co-change pattern; methods appearing in multiple commit groups; open-source software systems; pattern identification; pattern semantic; pinpoint design deficiency; software maintenance; software system; Association rules; Cloning; Couplings; History; Java; Manuals; Software systems; Association Rules; Evolutionary Coupling; Life Span; Method Co-change Pattern; Method Genealogy; Modification Occurrence Rate;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Program Comprehension (ICPC), 2013 IEEE 21st International Conference on
Conference_Location :
San Francisco, CA
ISSN :
1063-6897
Type :
conf
DOI :
10.1109/ICPC.2013.6613838
Filename :
6613838
Link To Document :
بازگشت