Rahman, Md SaidurAryani, AmirRoy, Chanchal K.Perin, Fabrizio2013-05-212013-05-21May 18-26Rahman, M. S., Aryani, A., Roy, C. K. & Perin, F. (2013, May). On the relationships between domain-based coupling and code clones: an exploratory study. Paper to be presented at the 35th IEEE International Conference on Software Engineering (ICSE 2013) held 18 May - 26 May 2013.9781467330763http://hdl.handle.net/1885/10055Knowledge 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 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.5 pageshttp://www.ieee.org/publications_standards/publications/rights/ieeecopyrightform.pdf "… Authors and/or their employers shall have the right to post the ACCEPTED VERSION of IEEE-copyrighted articles on their own personal servers or the servers of their institutions or employers without permission from IEEE, provided that the posted version includes a prominently displayed IEEE copyright notice and, when published, a full citation to the original IEEE publication, including a link to the article abstract in IEEEXplore. Authors shall not post the final, published versions of their papers ... Upon submission of an article to IEEE ... the author must update any previously posted version of the article [SUBMITTED VERSION OR PREPRINT VERSION] with a prominently displayed IEEE copyright notice.Upon publication of an article by the IEEE, the author must replace any previously posted electronic versions of the article with either (1) the full citation to the IEEE work with a Digital Object Identifier (DOI) or link to the article abstract in IEEE Xplore, or (2) the accepted version only (not the IEEE-published version), including the IEEE copyright notice and full citation, with a link to the final, published article in IEEE Xplore" - from publisher web site (as at 22/05/13). IEEE Copyright Notice: "© 20xx IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works." - from publisher web site (as at 22/05/13)code clonedomain-based couplingsoftware maintenanceOn the relationships between domain-based coupling and code clones: an exploratory study201310.1109/ICSE.2013.66066942015-12-11