• DocumentCode
    2601578
  • Title

    CloneDifferentiator: Analyzing clones by differentiation

  • Author

    Xing, Zhenchang ; Xue, Yinxing ; Jarzabek, Stan

  • Author_Institution
    Sch. of Comput., Nat. Univ. of Singapore, Singapore, Singapore
  • fYear
    2011
  • fDate
    6-10 Nov. 2011
  • Firstpage
    576
  • Lastpage
    579
  • Abstract
    Clone detection provides a scalable and efficient way to detect similar code fragments. But it offers limited explanation of differences of functions performed by clones and variations of control and data flows of clones. We refer to such differences as semantic differences of clones. Understanding these semantic differences is essential to correctly interpret cloning information and perform maintenance tasks on clones. Manual analysis of semantic differences of clones is complicated and error-prone. In the paper, we present our clone analysis tool, called Clone-Differentiator. Our tool automatically characterizes clones returned by a clone detector by differentiating Program Dependence Graphs (PDGs) of clones. CloneDifferentiator is able to provide a precise characterization of semantic differences of clones. It can provide an effective means of analyzing clones in a task oriented manner.
  • Keywords
    graph theory; program diagnostics; CloneDifferentiator; clone analysis tool; clone detection; code fragments; program dependence graphs; semantic differences; task oriented manner; Cloning; Java; Libraries; Maintenance engineering; Matched filters; Semantics; Software; Clone analysis; Graph differencing; Program dependence graph;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering (ASE), 2011 26th IEEE/ACM International Conference on
  • Conference_Location
    Lawrence, KS
  • ISSN
    1938-4300
  • Print_ISBN
    978-1-4577-1638-6
  • Type

    conf

  • DOI
    10.1109/ASE.2011.6100129
  • Filename
    6100129