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

代码更改如何在不同的平台上演变?基于采矿的调查

How Do Code Changes Evolve in Different Platforms? A Mining-based Investigation

Markos Viggiato, Johnatan Oliveira, Eduardo Figueiredo, Pooyan Jamshidi, Christian Kästner

摘要:

代码更改在移动和非移动平台中的执行方式不同。之前的工作已经调查了特定平台的差异。然而,我们仍然缺乏对代码更改如何在不同软件平台上演变的更深入理解。在本文中,我们提出了一项研究,旨在调查的变化频率和源代码,构建和测试的变化如何在移动和非移动平台上共同发展。我们开发了回归模型来解释哪些因素会影响变化的频率,并应用Apriori算法来寻找经常同时发生的变化类型。我们的研究结果表明,非移动存储库每月的提交数量更高,我们的回归模型表明,当控制混淆因素(如代码大小)时,移动存储库会对提交数量产生负面影响。我们还发现,开发人员通常不会将源代码文件与构建或测试文件一起更改。我们认为,我们的研究结果可以为开发人员提供有价值的信息,如何在不同的平台上进行更改,使成功的软件系统中采用的做法可以遵循。

英文摘要:

Code changes are performed differently in the mobile and non-mobile platforms. Prior work has investigated the differences in specific platforms. However, we still lack a deeper understanding of how code changes evolve across different software platforms. In this paper, we present a study aiming at investigating the frequency of changes and how source code, build and test changes co-evolve in mobile and non-mobile platforms. We developed regression models to explain which factors influence the frequency of changes and applied the Apriori algorithm to find types of changes that frequently co-occur. Our findings show that non-mobile repositories have a higher number of commits per month and our regression models suggest that being mobile significantly impacts on the number of commits in a negative direction when controlling for confound factors, such as code size. We also found that developers do not usually change source code files together with build or test files. We argue that our results can provide valuable information for developers on how changes are performed in different platforms so that practices adopted in successful software systems can be followed.

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

↑