• DocumentCode
    3274090
  • Title

    A novel detection approach for statement clones

  • Author

    Qing Qing Shi ; Li ping Zhang ; Fan Jun Meng ; Dong sheng Liu

  • Author_Institution
    Dept. of Comput. & Inf. Eng., Inner Mongolia Normal Univ., Hohhot, China
  • fYear
    2013
  • fDate
    23-25 May 2013
  • Firstpage
    27
  • Lastpage
    30
  • Abstract
    Activities such as copying, pasting and modifying codes usually lead to a lot of code clones in the software systems. These code clones have a great impact on software development and maintenance. This paper presents a new clone detection approach. That is to uses a algorithm based on suffix array to efficiently search repeated token substrings and finally to detect code clones. We also develop a clone detection tool SaCD in order to implement the method. This tool has detected statement clones in 31 open source software systems of C, C++ and Java language. The experimental results show that the SaCD can efficiently detect code clones at the statement granularity in the software.
  • Keywords
    C++ language; Java; public domain software; software maintenance; C language; C++ language; Java language; SaCD; clone detection approach; clone detection tool; code clones; code copying; code modification; code pasting; open source software systems; repeated token substrings; software development; software maintenance; statement clones; statement granularity; suffix array; Arrays; Cloning; Java; Random access memory; Software; DC3 algorithm; clone detection; code clone; suffix array; token string;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering and Service Science (ICSESS), 2013 4th IEEE International Conference on
  • Conference_Location
    Beijing
  • ISSN
    2327-0586
  • Print_ISBN
    978-1-4673-4997-0
  • Type

    conf

  • DOI
    10.1109/ICSESS.2013.6615249
  • Filename
    6615249