loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
2009 IEEE International Conference on Software Maintenance
Software change classification using hunk metrics
Edmonton, AB, Canada
September 20-September 26
ISBN: 978-1-4244-4897-5
Javed Ferzund, Institute for Software Technology, Graz University of Technology
Syed Nadeem Ahsan, Institute for Software Technology, Graz University of Technology
Franz Wotawa, Institute for Software Technology, Graz University of Technology
Change management is a challenging task in software maintenance. Changes are made to the software during its whole life. Some of these changes introduce errors in the code which result in failures. Software changes are composed of small code units called hunks, dispersed in source code files. In this paper we present a technique for classifying software changes based on hunk metrics. We classify individual hunks as buggy or bug-free, thus we provide an approach for bug prediction at the smallest level of granularity. We introduce a set of hunk metrics and build classification models based on these metrics. Classification models are built using logistic regression and random forests. We evaluated the performance of our approach on 7 open source software projects. Our classification approach can classify hunks as buggy or bug free with 81 percent accuracy, 77 percent buggy hunk precision and 67 percent buggy hunk recall on average. Most of the hunk metrics are significant predictors of bugs but the set of significant metrics varies among different projects.
Citation:
Javed Ferzund, Syed Nadeem Ahsan, Franz Wotawa, "Software change classification using hunk metrics," icsm, pp.471-474, 2009 IEEE International Conference on Software Maintenance, 2009
Usage of this product signifies your acceptance of the Terms of Use.