arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.07996cs.SE
收藏

克隆检测工具在检测克隆共变更候选对象中的性能评估

Evaluating the Performance of Clone Detection Tools in Detecting Cloned Co-change Candidates

Md Nadim, Manishankar Mondal, Chanchal K. Roy, Kevin Schneider

AI总结:

本研究针对现有研究缺乏克隆检测工具检测克隆共变更候选对象性能评估的空白,对比9种工具的12种配置在8个不同开源系统中的表现,为工具选型配置提供指导,拓展了代码克隆研究方向。

摘要:

共变更候选对象是指在软件演化过程的一次提交操作中,若其中任意一个代码片段发生修改,其余所有相关代码片段都需要同步变更的一组代码片段。克隆共变更候选对象是共变更候选对象的一个子集,该子集中的成员互为克隆代码。克隆共变更候选对象通常是在软件系统中复用现有代码片段而产生的。检测克隆共变更候选对象对于克隆追踪至关重要,已有研究表明我们可以利用克隆检测工具来查找克隆共变更候选对象。然而,尽管已有多项研究评估了克隆检测工具在检测克隆代码片段方面的准确性,我们尚未发现有研究针对克隆检测工具检测克隆共变更候选对象的能力开展评估。在本研究中,我们探索了代码克隆研究中面向克隆共变更候选对象检测的这一新维度。我们对比了9种主流克隆检测工具的12种不同配置的性能,测试场景是从8个规模各异、应用领域不同的开源C语言和Java语言主题系统中识别克隆共变更候选对象。我们对结果进行了排序并展开分析,为选择和配置用于识别共变更候选对象的克隆检测工具提供了宝贵的见解与指导,同时也为代码克隆研究开辟了变更影响分析这一新的研究方向。

英文摘要:

Co-change candidates are the group of code fragments that require a change if any of these fragments experience a modification in a commit operation during software evolution. The cloned co-change candidates are a subset of the co-change candidates, and the members in this subset are clones of one another. The cloned co-change candidates are usually created by reusing existing code fragments in a software system. Detecting cloned co-change candidates is essential for clone-tracking, and studies have shown that we can use clone detection tools to find cloned co-change candidates. However, although several studies evaluate clone detection tools for their accuracy in detecting cloned fragments, we found no study that evaluates clone detection tools for detecting cloned co-change candidates. In this study, we explore the dimension of code clone research for detecting cloned co-change candidates. We compare the performance of 12 different configurations of nine promising clone detection tools in identifying cloned co-change candidates from eight open-source C and Java-based subject systems of various sizes and application domains. A ranked list and analysis of the results provides valuable insights and guidelines into selecting and configuring a clone detection tool for identifying co-change candidates and leads to a new dimension of code clone research into change impact analysis.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑