How Long Will It Take to Fix This Bug?

Predicting the time and effort for a software problem has long been a difficult task. We present an approach that automatically predicts the fixing effort, i.e., the person-hours spent on fixing an issue. Our technique leverages existing issue tracking systems: given a new issue report, we use the Lucene framework to search for similar, earlier reports and use their average time as a prediction. Our approach thus allows for early effort estimation, helping in assigning issues and scheduling stable releases. We evaluated our approach using effort data from the JBoss project. Given a sufficient number of issues reports, our automatic predictions are close to the actual effort; for issues that are bugs, we are off by only one hour, beating naive predictions by a factor of four.

[1]  Qinbao Song,et al.  Software defect association mining and defect correction effort prediction , 2006, IEEE Transactions on Software Engineering.

[2]  Hui Zeng,et al.  Estimation of software defects fix effort using neural networks , 2004, Proceedings of the 28th Annual International Computer Software and Applications Conference, 2004. COMPSAC 2004..

[3]  Gail C. Murphy,et al.  Coping with an open bug repository , 2005, eclipse '05.

[4]  Audris Mockus,et al.  International Workshop on Mining Software Repositories , 2004 .

[5]  Rahul Premraj Meta-data to enhance case-based prediction , 2006 .

[6]  Barbara A. Kitchenham,et al.  An empirical analysis of software productivity over time , 2005, 11th IEEE International Software Metrics Symposium (METRICS'05).

[7]  Stephen G. MacDonell,et al.  What accuracy statistics really measure , 2001, IEE Proc. Softw..

[8]  Gerardo Canfora,et al.  Supporting change request assignment in open source development , 2006, SAC.

[9]  Gail C. Murphy,et al.  Who should fix this bug? , 2006, ICSE.

[10]  Gail C. Murphy,et al.  Automatic bug triage using text categorization , 2004, SEKE.

[11]  Martin J. Shepperd,et al.  Estimating Software Project Effort Using Analogies , 1997, IEEE Trans. Software Eng..

[12]  Barbara A. Kitchenham,et al.  A Simulation Study of the Model Evaluation Criterion MMRE , 2003, IEEE Trans. Software Eng..

[13]  Barry W. Boehm,et al.  Software development cost estimation approaches — A survey , 2000, Ann. Softw. Eng..

[14]  Otis Gospodnetic,et al.  Lucene in Action , 2004 .