首页> 外文会议>IEEE International Conference on Software Maintenance >Refactoring Clones: An Optimization Problem
【24h】

Refactoring Clones: An Optimization Problem

机译:重构克隆:优化问题

获取原文

摘要

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.
机译:通过将它们的常用功能提取为单个方法来实现软件克隆的重构。克隆之间的标识符和文字的任何差异必须在提取的方法中成为参数。显然,由于大量引入参数,大量差异导致提取的可重用性有限的可重用性。我们支持最小化克隆的匹配陈述之间的差异对于重构的目的至关重要,并提出将匹配过程视为优化问题的算法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号