Identifying unusual commits on GitHub: Goyal
Identifying unusual commits on GitHub: Goyal
复制标题
识别 GitHub 上的异常提交:Goyal
DOI:
10.1002/smr.1893
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Herbsleb, James
中科院分区:
文献类型:
--
作者:
Goyal, Raman;Ferreira, Gabriel;Kästner, Christian;Herbsleb, James
Transparent environments and social‐coding platforms as GitHub help developers to stay abreast of changes during the development and maintenance phase of a project. Especially, notification feeds can help developers to learn about relevant changes in other projects. Unfortunately, transparent environments can quickly overwhelm developers with too many notifications, such that they lose the important ones in a sea of noise. Complementing existing prioritization and filtering strategies based on binary compatibility and code ownership, we develop an anomaly detection mechanism to identify unusual commits in a repository, which stand out with respect to other changes in the same repository or by the same developer. Among others, we detect exceptionally large commits, commits at unusual times, and commits touching rarely changed file types given the characteristics of a particular repository or developer. We automatically flag unusual commits on GitHub through a browser plug‐in. In an interactive survey with 173 active GitHub users, rating commits in a project of their interest, we found that, although our unusual score is only a weak predictor of whether developers want to be notified about a commit, information about unusual characteristics of a commit changes how developers regard commits. Our anomaly detection mechanism is a building block for scaling transparent environments.