Qing-hua HA, Yuan CHEN, Luo LIU. Approach to cross-company spacecraft software defect prediction based on transfer learning[J]. Optics and precision engineering, 2019, 27(2): 469-478.
DOI:
Qing-hua HA, Yuan CHEN, Luo LIU. Approach to cross-company spacecraft software defect prediction based on transfer learning[J]. Optics and precision engineering, 2019, 27(2): 469-478. DOI: 10.3788/OPE.20192702.0469.
Approach to cross-company spacecraft software defect prediction based on transfer learning
In order to improve the efficiency and quality of aerospace software testing
an approach to cross-company aerospace software defect prediction was proposed
especially for the scarcity of within-company software and the long cycle of development. Considering the complexity
large scale
and independent functions of aerospace software
the idea of building a defect prediction model based on static classification was proposed. In this paper
the transfer learning method was introduced. Using the nearest neighbor classifier and data gravity model
the distribution characteristics of training data were corrected to improve the similarity between training data and target data. In order to improve the generalization ability of the model to adapt to the diversity of target data
a small amount of target data was added to the training data for model training. The approach was applied to the test for aerospace software testing. The results of application show that
compared with existing software defect prediction methods
the proposed method can effectively improve the recall rate (close to 0.6) with a low false alarm rate (not higher than 0.3). The overall credibility is effectively enhanced (G-measure is over 0.6)
and the method has high stability and strong generalization ability. This method can control the test scale in practical projects and improve testing efficiency.
WANG J J, SHEN X H, ZHANG B, et al ..Optimal test suite generation methods based on fusion of environment and state parameters [J]. Opt. Precision Eng ., 2009, 17(7): 1678-1685.(in Chinese)
CHEN X, WANG L P, GU Q, et al .. A survey on cross-project software defect prediction methods [J]. Journal of Software , 2018, 41(1): 254-274.(in Chinese)
TURHAN B, MENZIES T, Bener A B, et al .. On the relative value of cross-company and within-company data for defect prediction [J]. Empirical Software Engineering , 2009, 14(5): 540-578..
ZIMMERMANN T, NAGAPPAN N, GALL H, et al .. Cross-project defect prediction: a large scale experiment on data vs. domain vs. process [C]. Proc. Joint Meeting of the European Software Engineering Conference and the ACM Sigsoft Symposium on the Foundations of Software Engineering ., 2009: 91-100.
LIU D, LIANG D. Three-way decisions in ordered decision system [J]. Knowledge-Based Systems , 2017, 137(12):182-195.
Ma Y, Luo G, Zeng X, et al .. Transfer learning for cross-company software defect prediction [J]. Information & Software Technology , 2012, 54(3):248-256.
ZHANG, FENG, MOCKUS, et al .. Towards building a universal defect prediction model [J]. Empirical Software Engineering , 2016, 21(5):2107-2145.
KAMEI Y, FUKUSHIMA T, MCINTOSH S, et al .. Studying just-in-time defect prediction using cross-project models [J]. Empirical Software Engineering , 2016, 21(5):2072-2106.
ZHANG F, ZHENG Q, ZOU Y, et al .. Cross-project defect prediction using a connectivity-based unsupervised classifier [C]. Ieee/acm, International Conference on Software Engineering. IEEE , 2017: 309-320.
KHOSHGOGTAAR T M, CUKIC B, SELIYA N. An empirical assessment on program module-order models [J]. Quality Technology & Quantitative Management , 2007, 4(2):171-190.
ZIMMERMANN T, PREMRAJ R, ZELLER A. Predicting defects for eclipse [C]. International Workshop on Predictor MODELS in Software Engineering, 2007. Promise'07: ICSE Workshops. IEEE , 2007: 9.
PENG L, YANG B, CHEN Y, et al .. Data gravitation based classification [J]. Information Sciences An International Journal , 2009, 179(6):809-819.