Refactoring Clones: An Optimization Problem

Software Maintenance(2013)

引用 17|浏览0
暂无评分
摘要
The refactoring of software clones is achieved by extracting their common functionality into a single method. Any differences in identifiers and literals between the clones have to become parameters in the extracted method. Obviously, a large number of differences leads to an extracted method with limited reusability due to the large number of introduced parameters. We support that minimizing the differences between the matched statements of clones is crucial for the purpose of refactoring and propose an algorithm that treats the matching process as an optimization problem.
更多
查看译文
关键词
refactoring clones,common functionality,software clone,optimization problem,large number,single method,matching process,pattern matching,software maintenance
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要