首页> 外文会议>International Conference on Large-Scale Knowledge Resources >Extracting Prehistories of Software Refactorings from Version Archives
【24h】

Extracting Prehistories of Software Refactorings from Version Archives

机译:从版本档案中提取软件重构的预缺陷

获取原文

摘要

This paper proposes an automated technique to extract prehistories of software refactorings from existing software version archives, which in turn a technique to discover knowledge for finding refactoring opportunities. We focus on two types of knowledge to extract: characteristic modification histories, and fluctuations of the values of complexity measures. First, we extract modified fragments of code by calculating the difference of the Abstract Syntax Trees in the programs picked up from an existing software repository. We also extract past cases of refactorings, and then we create traces of program elements by associating modified fragments with cases of refactorings for finding the structures that frequently occur. Extracted traces help us identify how and where to refactor programs, and it leads to improve the program design.
机译:本文提出了一种自动化技术,可以从现有的软件版本档案中提取软件重构的预缺陷,这反过来又可以了解寻找重构机会的知识。我们专注于提取的两种类型的知识:特征修改历史,以及复杂性措施值的波动。首先,通过计算从现有软件存储库拾取的程序中的抽象语法树的差异来提取修改的代码片段。我们还提取了过去的重构情况,然后通过将修改的片段与重构的情况相关联来创建程序元素的痕迹,以查找经常发生的结构。提取的迹线有助于我们识别重构程序的方式以及何处,并导致提高程序设计。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号