• DocumentCode
    1852101
  • Title

    Clone-Aware Configuration Management

  • Author

    Nguyen, Tung Thanh ; Nguyen, Hoan Anh ; Pham, Nam H. ; Al-Kofahi, Jafar M. ; Nguyen, Tien N.

  • Author_Institution
    Electr. & Comput. Eng. Dept., Iowa State Univ., Ames, IA, USA
  • fYear
    2009
  • fDate
    16-20 Nov. 2009
  • Firstpage
    123
  • Lastpage
    134
  • Abstract
    Recent research results show several benefits of the management of code clones. In this paper, we introduce Clever, a novel clone-aware software configuration management (SCM) system. In addition to traditional SCM functionality, Clever provides clone management support, including clone detection and update, clone change management, clone consistency validating, clone synchronizing, and clone merging. Clever represents source code and clones as (sub)trees in Abstract Syntax Trees (ASTs), measures code similarity based on structural characteristic vectors, and describes code changes as tree editing scripts. The key techniques of Clever include the algorithms to compute tree editing scripts; to detect and update code clones and their groups; and to analyze the changes of cloned code to validate their consistency and recommend the relevant synchronization. Our empirical study on many real-world programs shows that Clever is highly efficient and accurate in clone detection and updating, and provides useful analysis of clone changes.
  • Keywords
    configuration management; software management; AST; Clever; SCM system; abstract syntax trees; clone change management; clone consistency validating; clone detection; clone management support; clone merging; clone synchronizing; clone-aware software configuration management; code clones; real-world programs; tree editing scripts; Algorithm design and analysis; Change detection algorithms; Cloning; Collaboration; Collaborative software; Conference management; Engineering management; Merging; Software engineering; Software systems; clone editing consistency; clone management; clone synchronization; clone-aware; tree edit;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering, 2009. ASE '09. 24th IEEE/ACM International Conference on
  • Conference_Location
    Auckland
  • ISSN
    1938-4300
  • Print_ISBN
    978-1-4244-5259-0
  • Electronic_ISBN
    1938-4300
  • Type

    conf

  • DOI
    10.1109/ASE.2009.90
  • Filename
    5431776