2011 15th European Conference on Software Maintenance and Reengineering (2012)
Mar. 27, 2012 to Mar. 30, 2012
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/CSMR.2012.38
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.
dynamic analysis, functional similarity
Florian Deissenboeck, Lars Heinemann, Stefan Wagner, Benjamin Hummel, "Challenges of the Dynamic Detection of Functionally Similar Code Fragments", 2011 15th European Conference on Software Maintenance and Reengineering, vol. 00, no. , pp. 299-308, 2012, doi:10.1109/CSMR.2012.38