首页> 外文会议>26th IEEE International Conference on Software Maintenance >Template-based reconstruction of complex refactorings
【24h】

Template-based reconstruction of complex refactorings

机译:基于模板的复杂重构重构

获取原文

摘要

Knowing which types of refactoring occurred between two program versions can help programmers better understand code changes. Our survey of refactoring identification techniques found that existing techniques cannot easily identify complex refactorings, such as an replace conditional with polymorphism refactoring, which consist of a set of atomic refactorings. This paper presents REF-FINDER that identifies complex refactorings between two program versions using a template-based refactoring reconstruction approach—REF-FINDER expresses each refactoring type in terms of template logic rules and uses a logic programming engine to infer concrete refactoring instances. It currently supports sixty three refactoring types from Fowler's catalog, showing the most comprehensive coverage among existing techniques. The evaluation using code examples from Fowler's catalog and open source project histories shows that REF-FINDER identifies refactorings with an overall precision of 0.79 and recall of 0.95.
机译:了解两个程序版本之间发生了哪种类型的重构可以帮助程序员更好地理解代码更改。我们对重构识别技术的调查发现,现有技术无法轻松识别复杂的重构,例如用多态重构替代条件,该重构由一组原子重构组成。本文介绍了REF-FINDER,它使用基于模板的重构重建方法来识别两个程序版本之间的复杂重构-REF-FINDER根据模板逻辑规则表示每种重构类型,并使用逻辑编程引擎来推断具体的重构实例。它目前支持Fowler目录中的63种重构类型,显示了现有技术中最全面的覆盖范围。使用Fowler目录和开放源代码项目历史记录中的代码示例进行的评估表明,REF-FINDER能够以0.79的整体精度和0.95的召回率识别重构。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号