SEJan 18, 2018

Challenges of the Dynamic Detection of Functionally Similar Code Fragments

arXiv:1801.06107v134 citations
Originality Synthesis-oriented
AI Analysis

This addresses the challenge of identifying independently developed redundant code for software developers, but it is incremental as it builds on existing methods and highlights limitations rather than presenting a new solution.

The paper tackled the problem of detecting functionally similar code fragments that are not copy-paste clones, using a dynamic detection approach with random testing, but found several limitations when applied to diverse Java systems.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes