Inproceedings,

Automatic Classification of Large Changes into Maintenance Categories

, , , and .
International Conference on Program Comprehension, Vancouver, (May 2009)in press.

Abstract

Large software systems undergo significant evolution during their lifespan, yet often individual changes are not well documented. In this work, we seek to automatically classify large changes into various categories of maintenance tasks — corrective, adaptive, perfective, feature addition, and non-functional improvement — using Machine Learning techniques. In a previous paper, we found that many commits could be classified easily and reliably based solely on the manual analysis of the commit metadata and commit messages (i.e., without reference to the source code). Our extension is the automation of classification by training Machine Learners on features extracted from the commit metadata, such as the word distribution of a commit message, commit author, and modules modified. We validated the results of the learners via 10-fold cross validation, which achieved accuracies consistently above 50%, indicating good to fair results. We found that the identity of the author of a commit provided much information about the maintenance class of a commit, almost as much as the words of the commit message. This implies that for most large commits, the SCS commit messages plus the commit author identity is enough information to accurately and automatically categorize the nature of the maintenance task.

Tags

Users

  • @neilernst

Comments and Reviews