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

Java程序中的克隆删除是一个逐步统一的过程

Clone Removal in Java Programs as a Process of Stepwise Unification

Daniel Speicher, Andri Bremm

摘要:

克隆代码是软件一致性维护和演化的重要障碍之一。虽然今天的克隆检测工具发现了各种各样的克隆,但它们没有提供任何如何删除这些克隆的建议。我们解释了在寻找一个序列的克隆删除的变化所涉及的问题,并建议把这个问题看作是一个逐步统一的克隆实例的过程。因此,这个问题可以通过回溯可能的统一步骤来解决。

英文摘要:

Cloned code is one of the most important obstacles against consistent software maintenance and evolution. Although today's clone detection tools find a variety of clones, they do not offer any advice how to remove such clones. We explain the problems involved in finding a sequence of changes for clone removal and suggest to view this problem as a process of stepwise unification of the clone instances. Consequently the problem can be solved by backtracking over the possible unification steps.

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

↑