首页> 外文会议>IEEE/ACM International Conference on Mining Software Repositories >Beyond GumTree: A Hybrid Approach to Generate Edit Scripts
【24h】

Beyond GumTree: A Hybrid Approach to Generate Edit Scripts

机译:除了巨大的傻瓜:一种混合方法来生成编辑脚本

获取原文

摘要

On development using a version control system, understanding differences of source code is important. Edit scripts (in short, ES) represent differences between two versions of source code. One of the tools generating ESs is GumTree. GumTree takes two versions of source code as input and generates an ES consisting of insert, delete, update and move nodes of abstract syntax tree (in short, AST). However, the accuracy of move and update actions generated by GumTree is insufficient, which makes ESs more difficult to understand. A reason why the accuracy is insufficient is that GumTree generates ESs from only information of AST. Thus, in this research, we propose to generate easier-to-understand ESs by using not only structures of AST but also information of line differences. To evaluate our methodology, we applied it to some open source software, and we confirmed that ESs generated by our methodology are more helpful to understand the differences of source code than GumTree.
机译:开发使用版本控制系统,了解源代码的差异很重要。编辑脚本(简称,ES)表示两个版本的源代码之间的差异。生成ESS的工具之一是Gumtree。 GumTree将两个版本的源代码作为输入,并生成由插入,删除,更新和移动节点的插入,删除,update和移动节点(简而言之)。然而,巨口生成的移动和更新动作的准确性不足,这使得ess更难以理解。准确性不足的原因是Gumtree从AST的信息产生ESS。因此,在本研究中,我们建议通过不仅使用AST的结构而且还可以更容易地生成易于理解的ESS,而且可以使用线差异的信息。为了评估我们的方法,我们将其应用于一些开源软件,我们确认我们的方法生成的ESS更有助于了解源代码的差异而不是Gumtree。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号