How Do Code Changes Evolve in Different Platforms? A Mining-Based Investigation
How Do Code Changes Evolve in Different Platforms? A Mining-Based Investigation
复制标题
DOI:
10.1109/icsme.2019.00033
复制
发表时间:
2019-09
期刊:
影响因子:
--
通讯作者:
Markos Viggiato;Johnatan Oliveira;Eduardo Figueiredo;Pooyan Jamshidi;Christian Kästner
中科院分区:
文献类型:
--
作者:
Markos Viggiato;Johnatan Oliveira;Eduardo Figueiredo;Pooyan Jamshidi;Christian Kästner
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.