A Comparative Study to Benchmark Cross-Project Defect Prediction Approaches
Open accessThe DOI matches its Crossref record; 73 of the 73 references it cites were found in a registry or an index.
Abstract
Cross-Project Defect Prediction (CPDP) as a means to focus quality assurance of software projects was under heavy investigation in recent years. However, within the current state-of-the-art it is unclear which of the many proposals performs best due to a lack of replication of results and diverse experiment setups that utilize different performance metrics and are based on different underlying data. Within this article, we provide a benchmark for CPDP. We replicate 24 approaches proposed by researchers between 2008 and 2015 and evaluate their performance on software products from five different data sets. Based on our benchmark, we determined that an approach proposed by Camargo Cruz and Ochimizu (2009) based on data standardization performs best and is always ranked among the statistically significant best results for all metrics and data sets. Approaches proposed by Turhan et al. (2009), Menzies et al. (2011), and Watanabe et al. (2008) are also nearly always among the best results. Moreover, we determined that predictions only seldom achieve a high performance of 0.75 recall, precision, and accuracy. Thus, CPDP still has not reached a point where the performance of the results is sufficient for the application in practice.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538
(1992) · Cited by 23,431
A decision-theoretic generalization of on-line learning and an application to boosting
Freund, Y., & Schapire, R. E. (1997) · Journal of Computer and System Sciences · doi:10.1006/jcss.1997.1504 · Cited by 20,466
(1996) · Cited by 20,179
The WEKA data mining software: an update
Hall, M., Frank, E., Holmes, G., Pfahringer, B., Reutemann, P., & Witten, I. H. (2009) · ACM SIGKDD Explorations Newsletter · doi:10.1145/1656274.1656278 · Cited by 17,750
Breiman, L. (1996) · Machine Learning · doi:10.1007/bf00058655 · Cited by 16,325
On a Test of Whether one of Two Random Variables is Stochastically Larger than the Other
Mann, H. B., & Whitney, D. R. (1947) · The Annals of Mathematical Statistics · doi:10.1214/aoms/1177730491 · Cited by 14,320
Artificial intelligence: A modern approach
Nilsson, N. J. (1996) · Artificial Intelligence · doi:10.1016/0004-3702(96)00007-0 · Cited by 10,583
XV.—The Correlation between Relatives on the Supposition of Mendelian Inheritance.
Fisher, R. A. (1919) · Transactions of the Royal Society of Edinburgh · doi:10.1017/s0080456800012163 · Cited by 4,387
Halstead, M. H. (1977) · CERN Document Server (European Organization for Nuclear Research) · Cited by 3,672
The Regression Analysis of Binary Sequences
Cox, D. R. (1958) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/j.2517-6161.1958.tb00292.x · Cited by 2,813
A Comparison of Alternative Tests of Significance for the Problem of $m$ Rankings
Friedman, M. (1940) · The Annals of Mathematical Statistics · doi:10.1214/aoms/1177731944 · Cited by 2,785
An empirical comparison of supervised learning algorithms
Caruana, R., & Niculescu-Mizil, A. (2006) · Proceedings of the 23rd international conference on Machine learning - ICML '06 · doi:10.1145/1143844.1143865 · Cited by 2,780
A validation of object-oriented design metrics as quality indicators
Basili, V. R., Briand, L. C., & Melo, W. L. (1996) · IEEE Transactions on Software Engineering · doi:10.1109/32.544352 · Cited by 1,726
Lessmann, S., Baesens, B., Mues, C., & Pietsch, S. (2008) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2008.35 · Cited by 1,226
A Systematic Literature Review on Fault Prediction Performance in Software Engineering
Hall, T., Beecham, S., Bowes, D., Gray, D., & Counsell, S. (2012) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2011.103 · Cited by 1,154
Statistical Comparisons of Classifiers over Multiple Data Sets
DemšarJanez (2006) · Journal of Machine Learning Research · doi:10.5555/1248547.1248548 · Cited by 1,074
Correlation-based Feature Subset Selection for Machine Learning
Hall, M. A. (1998) · Cited by 1,065
Mining metrics to predict component failures
Nagappan, N., Ball, T., & Zeller, A. (2006) · Proceedings of the 28th international conference on Software engineering · doi:10.1145/1134285.1134349 · Cited by 782
Predicting Defects for Eclipse
Zimmermann, T., Premraj, R., & Zeller, A. (2007) · Third International Workshop on Predictor Models in Software Engineering (PROMISE'07: ICSE Workshops 2007) · doi:10.1109/promise.2007.10 · Cited by 753
Object-oriented metrics: measures of complexity
Henderson‐Sellers, B. (1995) · Prentice-Hall, Inc eBooks · Cited by 753
Benchmarking Least Squares Support Vector Machine Classifiers
van Gestel, T., Suykens, J. A. K., Baesens, B., Viaene, S., Vanthienen, J., Dedene, G., de Moor, B., & Vandewalle, J. (2004) · Machine Learning · doi:10.1023/b:mach.0000008082.80494.e0 · Cited by 745
On the relative value of cross-company and within-company data for defect prediction
Turhan, B., Menzies, T., Bener, A. B., & Di Stefano, J. (2009) · Empirical Software Engineering · doi:10.1007/s10664-008-9103-7 · Cited by 725
Cross-project defect prediction: a large scale experiment on data vs. domain vs. process
Zimmermann, T., Nagappan, N., Gall, H. C., Giger, E., & Murphy, B. (2009) · Zurich Open Repository and Archive (University of Zurich) · doi:10.5167/uzh-25785 · Cited by 694
An extensive comparison of bug prediction approaches
D'Ambros, M., Lanza, M., & Robbes, R. (2010) · 2010 7th IEEE Working Conference on Mining Software Repositories (MSR 2010) · doi:10.1109/msr.2010.5463279 · Cited by 637
Evaluating defect prediction approaches: a benchmark and an extensive comparison
D’Ambros, M., Lanza, M., & Robbes, R. (2012) · Empirical Software Engineering · doi:10.1007/s10664-011-9173-9 · Cited by 626
Data Quality: Some Comments on the NASA Software Defect Datasets
Shepperd, M., Song, Q., Sun, Z., & Mair, C. (2013) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2013.11 · Cited by 570
Towards identifying software project clusters with regard to defect prediction
Jureczko, M., & Madeyski, L. (2010) · Proceedings of the 6th International Conference on Predictive Models in Software Engineering · doi:10.1145/1868328.1868342 · Cited by 546
Transfer learning for cross-company software defect prediction
Ma, Y., Luo, G., Zeng, X., & Chen, A. (2012) · Information and Software Technology · doi:10.1016/j.infsof.2011.09.007 · Cited by 475
Nam, J., Pan, S. J., & Kim, S. (2013) · 2013 35th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2013.6606584 · Cited by 449
ReLink: recovering links between bugs and changes
Wu, R., Zhang, H., Kim, S., & Cheung, S.-C. (2011) · Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering · doi:10.1145/2025113.2025120 · Cited by 412
Revisiting the Impact of Classification Techniques on the Performance of Defect Prediction Models
Ghotra, B., McIntosh, S., & Hassan, A. E. (2015) · 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering · doi:10.1109/icse.2015.91 · Cited by 364
Assessing the applicability of fault-proneness models across object-oriented software projects
Briand, L. C., Melo, W. L., & Wust, J. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2002.1019484 · Cited by 352
An investigation on the feasibility of cross-project defect prediction
He, Z., Shu, F., Yang, Y., Li, M., & Wang, Q. (2012) · Automated Software Engineering · doi:10.1007/s10515-011-0090-3 · Cited by 333
Automated parameter optimization of classification techniques for defect prediction models
Tantithamthavorn, C., McIntosh, S., Hassan, A. E., & Matsumoto, K. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884857 · Cited by 331
An empirical study on software defect prediction with a simplified metric set
He, P., Li, B., Liu, X., Chen, J., & Ma, Y. (2015) · Information and Software Technology · doi:10.1016/j.infsof.2014.11.006 · Cited by 309
Local versus Global Lessons for Defect Prediction and Effort Estimation
Menzies, T., Butcher, A., Cok, D., Marcus, A., Layman, L., Shull, F., Turhan, B., & Zimmermann, T. (2013) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2012.83 · Cited by 261
Recalling the "imprecision" of cross-project defect prediction
Rahman, F., Posnett, D., & Devanbu, P. (2012) · Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software Engineering · doi:10.1145/2393596.2393669 · Cited by 246
Studying just-in-time defect prediction using cross-project models
Kamei, Y., Fukushima, T., McIntosh, S., Yamashita, K., Ubayashi, N., & Hassan, A. E. (2016) · Empirical Software Engineering · doi:10.1007/s10664-015-9400-x · Cited by 236
Online Defect Prediction for Imbalanced Data
Tan, M., Tan, L., Dara, S., & Mayeux, C. (2015) · 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering · doi:10.1109/icse.2015.139 · Cited by 229
Better cross company defect prediction
Peters, F., Menzies, T., & Marcus, A. (2013) · 2013 10th Working Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2013.6624057 · Cited by 214
Jing, X., Wu, F., Dong, X., Qi, F., & Xu, B. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786813 · Cited by 197
Implications of ceiling effects in defect predictors
Menzies, T., Turhan, B., Bener, A., Gay, G., Cukic, B., & Jiang, Y. (2008) · Proceedings of the 4th international workshop on Predictor models in software engineering · doi:10.1145/1370788.1370801 · Cited by 185
Heterogeneous defect prediction
Nam, J., & Kim, S. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786814 · Cited by 182
An empirical study of just-in-time defect prediction using cross-project models
Fukushima, T., Kamei, Y., McIntosh, S., Yamashita, K., & Ubayashi, N. (2014) · Proceedings of the 11th Working Conference on Mining Software Repositories · doi:10.1145/2597073.2597075 · Cited by 180
Value-cognitive boosting with a support vector machine for cross-project defect prediction
Ryu, D., Choi, O., & Baik, J. (2016) · Empirical Software Engineering · doi:10.1007/s10664-014-9346-4 · Cited by 176
Cross-project defect prediction models: L'Union fait la force
Panichella, A., Oliveto, R., & De Lucia, A. (2014) · 2014 Software Evolution Week - IEEE Conference on Software Maintenance, Reengineering, and Reverse Engineering (CSMR-WCRE) · doi:10.1109/csmr-wcre.2014.6747166 · Cited by 176
Multi-objective Cross-Project Defect Prediction
Canfora, G., De Lucia, A., Di Penta, M., Oliveto, R., Panichella, A., & Panichella, S. (2013) · 2013 IEEE Sixth International Conference on Software Testing, Verification and Validation · doi:10.1109/icst.2013.38 · Cited by 171
Negative samples reduction in cross-company software defects prediction
Chen, L., Fang, B., Shang, Z., & Tang, Y. (2015) · Information and Software Technology · doi:10.1016/j.infsof.2015.01.014 · Cited by 169
The misuse of the NASA Metrics Data Program data sets for automated software defect prediction
Gray, D., Bowes, D., Davey, N., Sun, Y., & Christianson, B. (2011) · 15th Annual Conference on Evaluation & Assessment in Software Engineering (EASE 2011) · doi:10.1049/ic.2011.0012 · Cited by 167
A transfer cost-sensitive boosting approach for cross-project defect prediction
Ryu, D., Jang, J., & Baik, J. (2015) · Software Quality Journal · doi:10.1007/s11219-015-9287-1 · Cited by 159
Training data selection for cross-project defect prediction
Herbold, S. (2013) · doi:10.1145/2499393.2499395 · Cited by 158
Self-citationTowards building a universal defect prediction model
Zhang, F., Mockus, A., Keivanloo, I., & Zou, Y. (2014) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/2597073.2597078 · Cited by 156
Learning from Open-Source Projects: An Empirical Study on Defect Prediction
He, Z., Peters, F., Menzies, T., & Yang, Y. (2013) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1109/esem.2013.20 · Cited by 153
Evolutionary Optimization of Software Quality Modeling with Multiple Repositories
Liu, Y., Khoshgoftaar, T. M., & Seliya, N. (2010) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2010.51 · Cited by 152
Towards logistic regression models for predicting fault-prone code across software projects
Cruz, A. E. C., & Ochimizu, K. (2009) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1109/esem.2009.5316002 · Cited by 149
Balancing Privacy and Utility in Cross-Company Defect Prediction
Peters, F., Menzies, T., Gong, L., & Zhang, H. (2013) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2013.6 · Cited by 144
On the dataset shift problem in software engineering prediction models
Turhan, B. (2011) · Empirical Software Engineering · doi:10.1007/s10664-011-9182-8 · Cited by 132
Empirical evaluation of the effects of mixed project data on learning defect predictors
Turhan, B., Tosun, A., & Bener, A. (2012) · Information and Software Technology · doi:10.1016/j.infsof.2012.10.003 · Cited by 128
A Hybrid Instance Selection Using Nearest-Neighbor for Cross-Project Defect Prediction
Ryu, D., Jang, J., & Baik, J. (2015) · Journal of Computer Science and Technology · doi:10.1007/s11390-015-1575-5 · Cited by 109
An Empirical Study of Classifier Combination for Cross-Project Defect Prediction
Zhang, Y., Lo, D., Xia, X., & Sun, J. (2015) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac.2015.58 · Cited by 104
Defect prediction as a multiobjective optimization problem
Canfora, G., Lucia, A. D., Penta, M. D., Oliveto, R., Panichella, A., & Panichella, S. (2015) · Software Testing Verification and Reliability · doi:10.1002/stvr.1570 · Cited by 82
Predicting defects using change genealogies
Herzig, K., Just, S., Rau, A., & Zeller, A. (2013) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre.2013.6698911 · Cited by 80
LACE2: Better Privacy-Preserving Data Sharing for Cross Project Defect Prediction
Peters, F., Menzies, T., & Layman, L. M. (2015) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2015.92 · Cited by 75
Privacy and utility for defect prediction: Experiments with MORPH
Peters, F., & Menzies, T. (2012) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2012.6227194 · Cited by 69
Software quality analysis by combining multiple projects and learners
Khoshgoftaar, T. M., Rebours, P., & Seliya, N. (2008) · Software Quality Journal · doi:10.1007/s11219-008-9058-3 · Cited by 43
Enhancing Learning using Feature and Example selection
Raman, B., & Ioerger, T. R. (2003) · Cited by 41
Adressing problems with external validity of repository mining studies through a smart data platform
Trautsch, F., Herbold, S., Makedonski, P., & Grabowski, J. (2016) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/2901739.2901753 · Cited by 30
Self-citationSoftware defect prediction via transfer learning based neural network
Cao, Q., Sun, Q., Cao, Q., & Tan, H. (2015) · International Conference on Reliability Systems Engineering · doi:10.1109/icrse.2015.7366475 · Cited by 30
An Ensemble Approach of Simple Regression Models to Cross-Project Fault Prediction
Uchigaki, S., Uchida, S., Toda, K., & Monden, A. (2012) · ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD) · doi:10.1109/snpd.2012.34 · Cited by 28
A systematic mapping study on cross-project defect predictionPreprint
Herbold, S. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1705.06429 · Cited by 25
Self-citationA Cross-Project Evaluation of Text-Based Fault-Prone Module Prediction
Mizuno, O., & Hirata, Y. (2014) · International Workshop on Empirical Software Engineering in Practice (IWESEP) · doi:10.1109/iwesep.2014.9 · Cited by 13
Predicting more from less: Synergies of learning
Kocagüneli, E., Čukić, B., & Lu, H. (2013) · International Workshop on Realizing Artificial Intelligence Synergies in Software Engineering (RAISE) · doi:10.1109/raise.2013.6615203 · Cited by 12
Cited by
Deep learning based software defect prediction
Qiao, L., Li, X., Umer, Q., & Guo, P. (2020) · Neurocomputing · doi:10.1016/j.neucom.2019.11.067 · Cited by 219
Metadata
- Authors
- Herbold, S., Trautsch, A., & Grabowski, J.
- Venue
- IEEE Transactions on Software Engineering
- Published
- 2018-09-01
- Volume
- 44
- Issue
- 9
- Pages
- 811-833
- ISSN
- 0098-5589 (ISSN-L)
- 1939-3520
- 2326-3881
- OpenAlex
- W2735995639
- Cited by
- 210
- References
- 73
- FWCI
- 46.36
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.