• DocumentCode
    1093971
  • Title

    Finding Clones with Dup: Analysis of an Experiment

  • Author

    Baker, Brenda S.

  • Author_Institution
    Univ. of California, Berkeley
  • Volume
    33
  • Issue
    9
  • fYear
    2007
  • Firstpage
    608
  • Lastpage
    621
  • Abstract
    An experiment was carried out by a group of scientists to compare different tools and techniques for detecting duplicated or near-duplicated source code. The overall comparative results are presented elsewhere. This paper takes a closer look at the results for one tool, Dup, which finds code sections that are textually the same or the same except for systematic substitution of parameters such as identifiers and constants. Various factors that influenced the results are identified and their impact on the results is assessed via rerunning Dup with changed options and modifications. These improve the performance of Dup with regard to the experiment and could be incorporated into a postprocessor to be used with other tools.
  • Keywords
    software reusability; software tools; Dup; code sections; postprocessor; source code; systematic substitution; Cloning; Computer bugs; Data structures; Design methodology; Java; Particle measurements; Plagiarism; Software tools; Tree graphs; Redundant code; duplicated code; softwareclones;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2007.70720
  • Filename
    4288194