arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1810.08532cs.SE
收藏

Coming:一个从Git提交中挖掘变更模式的工具

Coming: a Tool for Mining Change Pattern Instances from Git Commits

Matias Martinez, Martin Monperrus

摘要:

像Git这样的软件存储库已经成为软件工程研究人员的相关信息来源。例如,检测满足给定标准的提交(例如,bug修复提交)是理解软件演化最常见的任务之一。然而,据我们所知,没有开源工具,给定Git存储库,返回给定更改模式的所有实例。在本文中,我们介绍了Coming,这是一个工具,它可以输入Git存储库,并在每次提交时挖掘更改模式的实例。为此,Coming计算两个连续修订之间的细粒度更改,分析这些更改以检测它们是否对应于更改模式的实例(由用户使用XML指定),最后,在分析所有提交后,它提供a)代码更改的频率和b)在每个提交中找到的实例。我们评估了一组28对来自Defects4J的修订,发现其中26个涉及If条件的更改模式的实例。

英文摘要:

Software repositories such as Git have become a relevant source of information for software engineer researcher. For instance, the detection of Commits that fulfill a given criterion (e.g., bugfixing commits) is one of the most frequent tasks done to understand the software evolution. However, to our knowledge, there is not open-source tools that, given a Git repository, returns all the instances of a given change pattern. In this paper we present Coming, a tool that takes an input a Git repository and mines instances of change patterns on each commit. For that, Coming computes fine-grained changes between two consecutive revisions, analyzes those changes to detect if they correspond to an instance of a change pattern (specified by the user using XML), and finally, after analyzing all the commits, it presents a) the frequency of code changes and b) the instances found on each commit. We evaluate Coming on a set of 28 pairs of revisions from Defects4J, finding instances of change patterns that involve If conditions on 26 of them.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑