arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.04423cs.SE
收藏

分支处理策略对变更推荐的影响

Revisiting the Effect of Branch Handling Strategies on Change Recommendation

Keisuke Isemoto, Takashi Kobayashi, Shinpei Hayashi

摘要:

虽然文献已经注意到分支处理策略对基于进化耦合的变更建议的影响,但它们已经在有限的实验环境中进行了测试。此外,导致这些影响的分支特性尚未被研究。在这项研究中,我们重新审视了Kovalenko等人进行的调查。使用两种不同的分支处理策略对更改建议的影响:包括来自分支上提交的更改集和排除它们。除了Kovalenko等人的设定之外,我们引入了另一个设置来比较:从合并提交中立即提取分支的变更记录。我们通过30个开源软件系统比较了变化推荐结果和提取的共同变化与使用两种策略获得的未来变化的相似性。结果表明,在一个分支上单独处理提交往往是更合适的更改建议,虽然在一个额外的设置比较导致分支处理策略之间的平衡性能。此外,我们发现合并提交大小和分支长度对更改推荐结果有积极影响。

英文摘要:

Although literature has noted the effects of branch handling strategies on change recommendation based on evolutionary coupling, they have been tested in a limited experimental setting. Additionally, the branches characteristics that lead to these effects have not been investigated. In this study, we revisited the investigation conducted by Kovalenko et al. on the effect to change recommendation using two different branch handling strategies: including changesets from commits on a branch and excluding them. In addition to the setting by Kovalenko et al., we introduced another setting to compare: extracting a changeset for a branch from a merge commit at once. We compared the change recommendation results and the similarity of the extracted co-changes to those in the future obtained using two strategies through 30 open-source software systems. The results show that handling commits on a branch separately is often more appropriate in change recommendation, although the comparison in an additional setting resulted in a balanced performance among the branch handling strategies. Additionally, we found that the merge commit size and the branch length positively influence the change recommendation results.

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

↑