TY - GEN
T1 - On the relationships between domain-based coupling and code clones
T2 - 2013 35th International Conference on Software Engineering, ICSE 2013
AU - Rahman, Md Saidur
AU - Aryani, Amir
AU - Roy, Chanchal K.
AU - Perin, Fabrizio
PY - 2013
Y1 - 2013
N2 - Knowledge of similar code fragments, also known as code clones, is important to many software maintenance activities including bug fixing, refactoring, impact analysis and program comprehension. While a great deal of research has been conducted for finding techniques and implementing tools to identify code clones, little research has been done to analyze the relationships between code clones and other aspects of software. In this paper, we attempt to uncover the relationships between code clones and coupling among domain-level components. We report on a case study of a large-scale open source enterprise system, where we demonstrate that the probability of finding code clones among components with domain-based coupling is more than 90%. While such a probabilistic view does not replace a clone detection tool per se, it certainly has the potential to complement the existing tools by providing the probability of having code clones between software components. For example, it can both reduce the clone search space and provide a flexible and language independent way of focusing only on a specific part of the system. It can also provide a higher level of abstraction to look at the cloning relationships among software components.
AB - Knowledge of similar code fragments, also known as code clones, is important to many software maintenance activities including bug fixing, refactoring, impact analysis and program comprehension. While a great deal of research has been conducted for finding techniques and implementing tools to identify code clones, little research has been done to analyze the relationships between code clones and other aspects of software. In this paper, we attempt to uncover the relationships between code clones and coupling among domain-level components. We report on a case study of a large-scale open source enterprise system, where we demonstrate that the probability of finding code clones among components with domain-based coupling is more than 90%. While such a probabilistic view does not replace a clone detection tool per se, it certainly has the potential to complement the existing tools by providing the probability of having code clones between software components. For example, it can both reduce the clone search space and provide a flexible and language independent way of focusing only on a specific part of the system. It can also provide a higher level of abstraction to look at the cloning relationships among software components.
UR - http://www.scopus.com/inward/record.url?scp=84886386931&partnerID=8YFLogxK
U2 - 10.1109/ICSE.2013.6606694
DO - 10.1109/ICSE.2013.6606694
M3 - Conference contribution
SN - 9781467330763
T3 - Proceedings - International Conference on Software Engineering
SP - 1265
EP - 1268
BT - 2013 35th International Conference on Software Engineering, ICSE 2013 - Proceedings
Y2 - 18 May 2013 through 26 May 2013
ER -