Challenges of the dynamic detection of functionally similar code fragments

Florian Deissenboeck, Lars Heinemann, Benjamin Hummel, Stefan Wagner

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

22 Scopus citations

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.

Original languageEnglish
Title of host publicationProceedings - 2012 16th European Conference on Software Maintenance and Reengineering, CSMR 2012
Pages299-308
Number of pages10
DOIs
StatePublished - 2012
Externally publishedYes
Event2012 16th European Conference on Software Maintenance and Reengineering, CSMR 2012 - Szeged, Hungary
Duration: 27 Mar 201230 Mar 2012

Publication series

NameProceedings of the European Conference on Software Maintenance and Reengineering, CSMR
ISSN (Print)1534-5351

Conference

Conference2012 16th European Conference on Software Maintenance and Reengineering, CSMR 2012
Country/TerritoryHungary
CitySzeged
Period27/03/1230/03/12

Keywords

  • Dynamic analysis
  • Functional similarity

Fingerprint

Dive into the research topics of 'Challenges of the dynamic detection of functionally similar code fragments'. Together they form a unique fingerprint.

Cite this