• DocumentCode
    2310448
  • Title

    Detection of Type-1 and Type-2 Code Clones Using Textual Analysis and Metrics

  • Author

    Kodhai, E. ; Kanmani, S. ; Kamatchi, A. ; Radhika, R. ; Saranya, B. Vijaya

  • Author_Institution
    Dept. of IT, SMVEC, Puducherry, India
  • fYear
    2010
  • fDate
    12-13 March 2010
  • Firstpage
    241
  • Lastpage
    243
  • Abstract
    Clone Detection has considerably evolved over the last decade, leading to approaches with better results but with increasing complexity. Most of the existing approaches are limited to finding program fragments similar in their syntax or semantics, while the fraction of candidates that are actually clones and fraction of actual clones identified as candidates on the average remain similar. In this paper, a metric-based approach combined with the textual comparison of the source code for the detection of functional Clones in C source code has been proposed. Various metrics had been formulated and their values were utilized during the detection process. Compared to the other approaches, this method is considered to be the least complex and is to provide a more accurate and efficient way of Clone Detection. The results obtained had been compared with the two other existing tools for the open source project Weltab.
  • Keywords
    software maintenance; software metrics; C source code; Type-1code clone; Type-2 code clone; functional clone; textual analysis; textual metrics; Application software; Cloning; Information analysis; Java; Plagiarism; Programming profession; Software maintenance; Software metrics; Software systems; Telecommunication computing; Clone Detection; Functional Clones; Software Metrics; String-matching; Text-based Comparison;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Recent Trends in Information, Telecommunication and Computing (ITC), 2010 International Conference on
  • Conference_Location
    Kochi, Kerala
  • Print_ISBN
    978-1-4244-5956-8
  • Type

    conf

  • DOI
    10.1109/ITC.2010.55
  • Filename
    5460547