功能相似代码片段动态检测的挑战
Challenges of the Dynamic Detection of Functionally Similar Code Fragments
摘要:
经典的克隆检测方法几乎不能够发现已经独立开发的冗余码,即,不是复制和粘贴的结果。为了自动检测这种独立起源的功能相似的代码,我们尝试了一种动态检测方法,该方法将随机测试应用于选定的代码块,类似于Jiang&Su的方法。我们发现,这种方法在应用于不同的Java系统时面临着一些限制。本文详细介绍了我们的见解,这些挑战的动态检测功能相似的代码片段。我们的研究结果支持了一个充实的讨论检测方法,并作为未来研究的起点。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。