• DocumentCode
    1684034
  • Title

    Challenges of the Dynamic Detection of Functionally Similar Code Fragments

  • Author

    Deissenboeck, Florian ; Heinemann, Lars ; Hummel, Benjamin ; Wagner, Stefan

  • Author_Institution
    Tech. Univ. Munchen, Munich, Germany
  • fYear
    2012
  • Firstpage
    299
  • Lastpage
    308
  • Abstract
    Classic clone detection approaches are hardly capable of finding redundant code that has been developed independently, i.e., is not the result of copy&paste. To automatically detect such functionally similar code of independent origin, we experimented with a dynamic detection approach that applies random testing to selected chunks of code similar to Jiang&Su´s approach. We found that such an approach faces several limitations in its application to diverse Java systems. This paper details on our insights regarding these challenges of dynamic detection of functionally similar code fragments. Our findings support a substantiated discussion on detection approaches and serve as a starting point for future research.
  • Keywords
    Java; program testing; software maintenance; classic clone detection approaches; diverse Java systems; dynamic detection approach; functionally similar code fragments; random testing; software maintenance; Cloning; Detectors; Java; Measurement; Pipelines; Software systems; Testing; dynamic analysis; functional similarity;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance and Reengineering (CSMR), 2012 16th European Conference on
  • Conference_Location
    Szeged
  • ISSN
    1534-5351
  • Print_ISBN
    978-1-4673-0984-4
  • Type

    conf

  • DOI
    10.1109/CSMR.2012.38
  • Filename
    6178896