How Long will it Take to Fix This Bug? – MSR 2007

by Cathrin Weiss, Rahul Premraj, Thomas Zimmermann, Andreas Zeller

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 na¬υve predictions by a factor of four.

Download as PDF.

Reference

Cathrin Weiss, Rahul Premraj, Thomas Zimmermann, Andreas Zeller. How Long will it Take to Fix This Bug?. In Proceedings of the Fourth International Workshop on Mining Software Repositories (MSR 2007), Minneapolis, MN, USA, May 2007.

BibTeX Entry

@inproceedings{weiss-msr-2007,
    title = "How Long will it Take to Fix This Bug?",
    author = "Cathrin Weiss and Rahul Premraj and Thomas Zimmermann and Andreas Zeller",
    year = "2007",
    month = "May",
    booktitle = "Proceedings of the Fourth International Workshop on Mining Software Repositories",
    editors = "Harald Gall and Michele Lanza",
    location = "Minneapolis, MN, USA",
}