• DocumentCode
    691129
  • Title

    A New Clone Group Mapping Algorithm for Extracting Clone Genealogy on Multi-version Software

  • Author

    Ci Meng ; Su Xiao-hong ; Wang Tian-tian ; Ma Pei-jun

  • Author_Institution
    Sch. of Comput. Sci. & Technol., Harbin Inst. of Technol., Harbin, China
  • fYear
    2013
  • fDate
    21-23 Sept. 2013
  • Firstpage
    848
  • Lastpage
    853
  • Abstract
    Research on code clone evolution is very hot, and it can contribute to the investigation of the characteristics, the maintenance, the refactoring, and the harmfulness evaluation of code clones. In clone evolution research, extracting clone genealogies is the key technique, and mapping clone groups between neighboring software versions is a thorny issue for extracting clone genealogies. The efficiency and robustness of the current method are not satisfactory. To address this problem, this paper presents a new clone group mapping algorithm in order to extract the clone genealogy. The algorithm takes NICAD´s results as input, and describes the information of code clones with CRD, and maps the clone groups as well as the clone fragments according to the CRD matching level, the location overlapping rate and if necessary the text similarity rate. We evaluate our method on three software systems of different size and written in different languages. The results show that our method works well in clone group mapping under various circumstances, and it also can as a reliable foundation for constructing clone genealogies.
  • Keywords
    software maintenance; CRD matching level; NICAD; clone evolution research; clone genealogy extraction; clone group mapping algorithm; code clone evolution; harmfulness evaluation; multiversion software; refactoring; software versions; text similarity rate; Accuracy; Algorithm design and analysis; Cloning; Layout; Software systems; XML; CRD; Clone Evolution; Clone Genealogy; Clone Group Mapping;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Instrumentation, Measurement, Computer, Communication and Control (IMCCC), 2013 Third International Conference on
  • Conference_Location
    Shenyang
  • Type

    conf

  • DOI
    10.1109/IMCCC.2013.189
  • Filename
    6840579