首页> 外文会议>European Conference on Object-Oriented Programming; 20060703-07; Nantes(FR) >Automated Detection of Refactorings in Evolving Components
【24h】

Automated Detection of Refactorings in Evolving Components

机译:自动检测不断发展的组件中的重构

获取原文
获取原文并翻译 | 示例

摘要

One of the costs of reusing software components is updating applications to use the new version of the components. Updating an application can be error-prone, tedious, and disruptive of the development process. Our previous study showed that more than 80% of the disruptive changes in five different components were caused by refactorings. If the refactorings that happened between two versions of a component could be automatically detected, a refactoring tool could replay them on applications. We present an algorithm that detects refactorings performed during component evolution. Our algorithm uses a combination of a fast syntactic analysis to detect refactoring candidates and a more expensive semantic analysis to refine the results. The experiments on components ranging from 17 KLOC to 352 KLOC show that our algorithm detects refactorings in real-world components with accuracy over 85%.
机译:重用软件组件的成本之一是更新应用程序以使用组件的新版本。更新应用程序可能容易出错,乏味且破坏开发过程。我们以前的研究表明,五个不同组件中超过80%的破坏性变化是由重构引起的。如果可以自动检测到组件的两个版本之间发生的重构,则重构工具可以在应用程序上重播它们。我们提出了一种算法,该算法可检测组件演化过程中执行的重构。我们的算法结合使用快速语法分析来检测重构候选,并使用更昂贵的语义分析来优化结果。在从17 KLOC到352 KLOC的组件上进行的实验表明,我们的算法可检测实际组件中的重构,其准确度超过85%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号