...
首页> 外文期刊>JMLR: Workshop and Conference Proceedings >Learning Code Changes by Exploiting Bidirectional Converting Deviation
【24h】

Learning Code Changes by Exploiting Bidirectional Converting Deviation

机译:通过利用双向转换偏差来改变学习代码

获取原文
           

摘要

Software systems evolve with constant code changes when requirements change or bugs are found. Assessing the quality of code change is a vital part of software development. However, most existing software mining methods inspect software data from a static view and learn global code semantics from a snapshot of code, which cannot capture the semantic information of small changes and are under{-}representation for rich historical code changes. How to build a model to emphasize the code change remains a great challenge. In this paper, we propose a novel deep neural network called CCL, which models a forward converting process from the code before change to the code after change and a backward converting process inversely, and the change representations of bidirectional converting processes can be learned. By exploiting the deviation of the converting processes, the code change can be evaluated by the network. Experimental results on open source projects indicate that CCL significantly outperforms the compared methods in code change learning.
机译:当找到需求更改或错误时,软件系统会随着常量代码而变化。评估代码的质量是软件开发的重要组成部分。然而,大多数现有的软件挖掘方法从静态视图中检查软件数据,并从代码的快照中学习全局代码语义,它无法捕获小型更改的语义信息,并且在富裕的历史代码的{ - }表示下。如何构建模型来强调代码更改仍然是一个巨大的挑战。在本文中,我们提出了一种名为CCL的新型神经网络,其在改变之后改变代码之前从代码进行正向转换过程,并且可以学习双向转换过程的改变表示。通过利用转换过程的偏差,可以由网络评估代码更改。开源项目的实验结果表明CCL在代码变更学习中显着优于比较方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号