On the relationships between domain-based coupling and code clones: An exploratory study

Md Saidur Rahman, Amir Aryani, Chanchal K. Roy, Fabrizio Perin

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    5 Citations (Scopus)

    Abstract

    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.

    Original languageEnglish
    Title of host publication2013 35th International Conference on Software Engineering, ICSE 2013 - Proceedings
    Pages1265-1268
    Number of pages4
    DOIs
    Publication statusPublished - 2013
    Event2013 35th International Conference on Software Engineering, ICSE 2013 - San Francisco, CA, United States
    Duration: 18 May 201326 May 2013

    Publication series

    NameProceedings - International Conference on Software Engineering
    ISSN (Print)0270-5257

    Conference

    Conference2013 35th International Conference on Software Engineering, ICSE 2013
    Country/TerritoryUnited States
    CitySan Francisco, CA
    Period18/05/1326/05/13

    Fingerprint

    Dive into the research topics of 'On the relationships between domain-based coupling and code clones: An exploratory study'. Together they form a unique fingerprint.

    Cite this