Sciweavers

PEERJPRE
2016

Judging a commit by its cover; or can a commit message predict build failure?

8 years 1 months ago
Judging a commit by its cover; or can a commit message predict build failure?
Developers summarize their changes to code in commit messages. When a message seems “unusual”, however, this puts doubt into the quality of the code contained in the commit. We trained n-gram language models and used cross-entropy as an indicator of commit message “unusualness” of over 120 000 commits from open source projects. Build statuses collected from Travis-CI were used as a proxy for code quality. We then compared the distributions of failed and successful commits with regards to the “unusualness” of their commit message. Our analysis yielded significant results when correlating cross-entropy with build status.
Eddie A. Santos, Abram Hindle
Added 08 Apr 2016
Updated 08 Apr 2016
Type Journal
Year 2016
Where PEERJPRE
Authors Eddie A. Santos, Abram Hindle
Comments (0)