journal article·2020-08-04Open access

Can Defect Prediction Be Useful for Coarse-Level Tasks of Software Testing?

Can Cui, Bin Liu, Peng Xiao, Shihai Wang

Applied Sciences· Volume 10· Issue 15

Abstract

It is popular to use software defect prediction (SDP) techniques to predict bugs in software in the past 20 years. Before conducting software testing (ST), the result of SDP assists on resource allocation for ST. However, DP usually works on fine-level tasks (or white-box testing) instead of coarse-level tasks (or black-box testing). Before ST or without historical execution information, it is difficult to get resource allocated properly. Therefore, a SDP-based approach, named DPAHM, is proposed to assist on arranging resource for coarse-level tasks. The method combines analytic hierarchy process (AHP) and variant incidence matrix. Besides, we apply the proposed DPAHM into a proprietary software, named MC. Besides, we conduct an up-to-down structure, including three layers for MC. Additionally, the performance measure of each layer is calculated based on the SDP result. Therefore, the resource allocation strategy for coarse-level tasks is gained according to the prediction result. The experiment indicates our proposed method is effective for resource allocation of coarse-level tasks before executing ST.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Software Engineering Research · Software Reliability and Analysis Research · Software Testing and Debugging Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Reliability and Systems Engineering, Beihang University, Beijing 100191, China

The Key Laboratory on Reliability and Environmental Engineering Technology, Beihang University, Beijing 100191, China

School of Software, Nanchang Hangkong University, Nanchang 330063, China

Funding

Grant · Science and Technology on Reliability and Environmental Engineering Laboratory

References (65)

Show source-provided references
1. Understanding and controlling software costs10.1109/32.6191 ↗
2. Empirically guided software development using metric-based classification trees10.1109/52.50773 ↗
3. A survey of software testing practices in Canada10.1016/j.jss.2012.12.051 ↗
4. Yucalar, F., Ozcift, A., Borandag, E., and Kilinc, D. (2019). Multiple-classifiers in software quality engineering: Combining predictors to improve software fault prediction ability. Eng. Sci. Technol. Int. J., in press.10.1016/j.jestch.2019.10.005 ↗
5. On cost-effective software defect prediction: Classification or ranking?10.1016/j.neucom.2019.05.100 ↗
6. An empirical study to investigate oversampling methods for improving software defect prediction using imbalanced data10.1016/j.neucom.2018.04.090 ↗
7. Chen, J., Hu, K., Yang, Y., Liu, Y., and Xuan, Q. (2019). Collective transfer learning for defect prediction. Neurocomputing, in press.10.1109/ACCESS.2018.2890733 ↗
8. A Critique of Software Defect Prediction Models10.1109/32.815326 ↗
9. Defect prediction from static code features: Current results, limitations, new approaches10.1007/s10515-010-0069-5 ↗
10. Nagappan, N., and Ball, T. (2005, January 15–21). Use of relative code churn measures to predict system defect density. Proceedings of the 27th International Conference on Software Engineering (ICSE), Saint Louis, MO, USA.10.1145/1062455.1062514 ↗
11. Data mining static code attributes to learn defect predictors10.1109/TSE.2007.256941 ↗
12. Benchmarking classification models for software defect prediction: A proposed framework and novel findings10.1109/TSE.2008.35 ↗
13. Data Quality: Some Comments on the NASA Software Defect Datasets10.1109/TSE.2013.11 ↗
14. Cui, C., Liu, B., and Li, G. (2019, January 28–31). A novel feature selection method for software fault prediction model. Proceedings of the 2019 Annual Reliability and Maintainability Symposium (RAMS), Orlando, FL, USA.10.1109/RAMS.2019.8768923 ↗
15. Pan, C., Lu, M., Xu, B., and Gao, H. (2019). An Improved CNN Model for Within-Project Software Defect Prediction. Appl. Sci., 9.10.3390/app9102138 ↗
16. Balogun, A.O., Basri, S., Abdulkadir, S.J., and Hashim, A.S. (2019). Performance Analysis of Feature Selection Methods in Software Defect Prediction: A Search Method Approach. Appl. Sci., 9.10.3390/app9132764 ↗
17. Alsawalqah, H., Hijazi, N., Eshtay, M., Faris, H., Al Radaideh, A., Aljarah, I., and Alshamaileh, Y. (2020). Software Defect Prediction Using Heterogeneous Ensemble Classification Based on Segmented Patterns. Appl. Sci., 10.10.3390/app10051745 ↗
18. Ren, J., and Liu, F. (2020). A Novel Approach for Software Defect prediction Based on the Power Law Function. Appl. Sci., 10.10.3390/app10051892 ↗
19. Zimmermann, T., Nagappan, N., Gall, H., Giger, E., and Murphy, B. (2009, January 24–28). Cross-project defect prediction: A large scale experiment on data vs. domain vs. process. Proceedings of the 7th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on The Foundations of Software Engineering (ESEC/FSE), Amsterdam, The Netherlands.10.1145/1595696.1595713 ↗
20. Rahman, F., Posnett, D., and Devanbu, P. (2012, January 11–16). Recalling the “imprecision” of cross-project defect prediction. Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software Engineering, Cary, NC, USA.10.1145/2393596.2393669 ↗
21. Canfora, G., De Lucia, A., Di Penta, M., Oliveto, R., Panichella, A., and Panichella, S. (2013, January 18–22). Multi-objective cross-project defect prediction. Proceedings of the 2013 IEEE Sixth International Conference on Software Testing, Verification and Validation, Luxembourg.10.1109/ICST.2013.38 ↗
22. Qing, H., Biwen, L., Beijun, S., and Xia, Y. (2015, January 6). Cross-project software defect prediction using feature-based transfer learning. Proceedings of the 7th Asia-Pacific Symposium on Internetware, Wuhan, China.10.1145/2875913.2875944 ↗
23. Qiu, S., Xu, H., Deng, J., Jiang, S., and Lu, L. (2019). Transfer Convolutional Neural Network for Cross-Project Defect Prediction. Appl. Sci., 9.10.3390/app9132660 ↗
24. Jiang, K., Zhang, Y., Wu, H., Wang, A., and Iwahori, Y. (2020). Heterogeneous Defect Prediction Based on Transfer Learning to Handle Extreme Imbalance. Appl. Sci., 10.10.3390/app10010396 ↗
25. Myers, G.J. (2004). The Art of Software Testing, Wiley. [2nd ed.].
26. Incorporating fault-proneness estimations into coverage-based test case prioritization methods10.1016/j.infsof.2020.106269 ↗
27. Test case prioritization for object-oriented software: An adaptive random sequence approach based on clustering10.1016/j.jss.2017.09.031 ↗
28. Comparing the Effectiveness of Software Testing Strategies
29. A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge10.1016/j.procs.2013.09.135 ↗
30. An empirical, path-oriented approach to software analysis and testing10.1016/j.jss.2007.05.008 ↗
31. Relation-based test case prioritization for regression testing10.1016/j.jss.2020.110539 ↗
32. Multi-objective test case prioritization in highly configurable systems: A case study10.1016/j.jss.2016.09.045 ↗
33. Test case selection-prioritization approach based on memoization dynamic programming algorithm10.1016/j.infsof.2019.06.001 ↗
34. Pareto efficient multi-objective black-box test case selection for simulation-based testing10.1016/j.infsof.2019.06.009 ↗
35. Uncertainty-wise test case generation and minimization for Cyber-Physical Systems10.1016/j.jss.2019.03.011 ↗
36. BPDET: An effective software bug prediction model using deep representation and ensemble learning techniques10.1016/j.eswa.2019.113085 ↗
37. SLDeep: Statement-level software defect prediction using deep-learning model on static code features10.1016/j.eswa.2019.113156 ↗
38. Feedback-based integrated prediction: Defect prediction based on feedback from software testing process10.1016/j.jss.2018.05.029 ↗
39. Software defect prediction based on correlation weighted class association rule mining10.1016/j.knosys.2020.105742 ↗
40. Effective multi-objective naive Bayes learning for cross-project defect prediction10.1016/j.asoc.2016.04.009 ↗
41. Software fault-proneness prediction using module severity metrics
42. Prediction of defect severity by mining software project reports10.1007/s13198-016-0438-y ↗
43. A Learning-to-Rank Approach to Software Defect Prediction10.1109/TR.2014.2370891 ↗
44. Predicting the location and number of faults in large software systems10.1109/TSE.2005.49 ↗
45. Bell, R.M., Ostrand, T.J., and Weyuker, E.J. (2006, January 17–20). Looking for bugs in all the right places. Proceedings of the ACM/SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2006, Portland, ME, USA.10.1145/1146238.1146246 ↗
46. A fuzzy logic based approach for phase-wise software defects prediction using software metrics10.1016/j.infsof.2015.03.001 ↗
47. A benchmark study on the effectiveness of search-based data selection and feature selection for cross project defect prediction10.1016/j.infsof.2017.06.004 ↗
48. On the relative value of cross-company and within-company data for defect prediction10.1007/s10664-008-9103-7 ↗
49. Li, Z., Jing, X.Y., Zhu, X., and Zhang, H. (2017, January 17–22). Heterogeneous Defect Prediction Through Multiple Kernel Learning and Ensemble Learning. Proceedings of the IEEE International Conference on Software Maintenance & Evolution, Shanghai, China.10.1109/ICSME.2017.19 ↗
50. Transfer learning for cross-company software defect prediction10.1016/j.infsof.2011.09.007 ↗
51. Nam, J., Pan, S., and Kim, S. (2013, January 18–26). Transfer defect learning. Proceedings of the 2013 35th International Conference on Software Engineering (ICSE), San Francisco, CA, USA.10.1109/ICSE.2013.6606584 ↗
52. Jing, X., Wu, F., Dong, X., Qi, F., and Xu, B. (September, January 30). Heterogeneous cross-company defect prediction by unified metric representation and CCA-based transfer learning. Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering and the ACM SIGSOFT Symposium on the Foundations of Software Engineering (ESEC/FSE), Bergamo, Italy.10.1145/2786805.2786813 ↗
53. Saaty, T.L. (2005). Analytic Hierarchy Process, John Wiley and Sons, Ltd.10.1002/0470011815.b2a4a002 ↗
54. An Analytical Hierarchy Process to manage water quality in white fish (Chirostoma estor estor) intensive culture10.1016/j.compag.2019.105071 ↗
55. Prioritising investments in safety measures in the chemical industry by using the Analytic Hierarchy Process10.1016/j.ress.2020.106811 ↗
56. Huang, J., Cui, C., Gao, C., and Lv, X. (2016, January 19–21). Technology maturity evaluation for DC-DC converter based on AHP and KPA. Proceedings of the 2016 Prognostics and System Health Management Conference (PHM-Chengdu), Chengdu, China.10.1109/PHM.2016.7819905 ↗
57. Utilizing the Analytical Hierarchy Process to determine the optimal lunar habitat configuration10.1016/j.actaastro.2020.04.012 ↗
58. Criticisms of the Analytic Hierarchy Process: Why they often make no sense10.1016/j.mcm.2007.03.016 ↗
59. Quantifying reusability of software components using hybrid fuzzy analytical hierarchy process (FAHP)-Metrics approach10.1016/j.asoc.2019.105997 ↗
60. User equilibrium in traffic assignment problem with fuzzy N–A incidence matrix10.1016/S0165-0114(97)00298-4 ↗
61. Proposal of a benefit incidence matrix for urban development projects10.1016/0166-0462(95)02096-D ↗
62. Stability analysis for multi-agent systems using the incidence matrix: Quantized communication and formation control10.1016/j.automatica.2010.01.012 ↗
63. Analytical model and algorithm for tracing active power flow based on extended incidence matrix10.1016/j.epsr.2008.08.001 ↗
64. A Complexity Measure10.1109/TSE.1976.233837 ↗
65. Halstead, M.H. (1978). Elements of Software Science, Elsevier.