Abstract
Defect prediction is a well-established research area in software engineering. Prediction models in the literature do not predict defect-prone modules in different test phases. We investigate the relationships between defects and test phases in order to build defect prediction models for different test phases. We mined the version history of a large-scale enterprise software product to extract churn and static code metrics. We used three testing phases that have been employed by our industry partner, namely function, system and field, to build a learning-based model for each testing phase. We examined the relation of different defect symptoms with the testing phases. We compared the performance of our proposed model with a benchmark model that has been constructed for the entire test phase (benchmark model). Our results show that building a model to predict defect-prone modules for each test phase significantly improves defect prediction performance and shortens defect detection time. The benefit analysis shows that using the proposed model, the defects are detected on the average 7 months earlier than the actual. The outcome of prediction models should lead to an action in a software development organization. Our proposed model gives a more granular outcome in terms of predicting defect-prone modules in each testing phase so that managers may better organize the testing teams and effort.
| Original language | English |
|---|---|
| Pages (from-to) | 205-227 |
| Number of pages | 23 |
| Journal | Software Quality Journal |
| Volume | 23 |
| Issue number | 2 |
| DOIs | |
| Publication status | Published - 1 Jun 2015 |
| Externally published | Yes |
Bibliographical note
Publisher Copyright:© 2014, Springer Science+Business Media New York.
Funding
This research is supported in part by Turkish State Planning Organization (DPT) under the Project Number 2007K120610 and by NSERC Project number 402003-2012. We would like to thank IBM Canada Lab – Toronto site for making their development data available for research and strategic help during all phases of this research. The opinions expressed in this paper are those of the authors and not necessarily of IBM Corporation.
| Funders | Funder number |
|---|---|
| DPT | 2007K120610 |
| Turkish State Planning Organization | |
| Natural Sciences and Engineering Research Council of Canada | 402003-2012 |
Keywords
- Defect prediction
- Software testing
- Testing phase