English

Challenges of the Dynamic Detection of Functionally Similar Code Fragments

Software Engineering 2018-01-19 v1

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

Cite

@article{arxiv.1801.06107,
  title  = {Challenges of the Dynamic Detection of Functionally Similar Code Fragments},
  author = {Florian Deissenboeck and Lars Heinemann and Benjamin Hummel and Stefan Wagner},
  journal= {arXiv preprint arXiv:1801.06107},
  year   = {2018}
}

Comments

11 pages, 3 figures

R2 v1 2026-06-22T23:48:59.636Z