A novel software defect prediction approach via weighted classification based on association rule mining

被引:2
|
作者
Wu, Wentao [1 ,2 ]
Wang, Shihai [1 ,2 ,3 ]
Liu, Bin [1 ,2 ,3 ]
Shao, Yuanxun [4 ]
Xie, Wandong [5 ]
机构
[1] Beihang Univ, Sch Reliabil & Syst Engn, Beijing 100191, Peoples R China
[2] Sci & Technol Reliabil & Environm Engn Lab, Beijing, Peoples R China
[3] State Key Lab Software Dev Environm, Beijing, Peoples R China
[4] Aerosp Sci & Engn Network Informat Dev CO LTD, Beijing, Peoples R China
[5] Informat Ctr China North Ind Grp Corp, Beijing, Peoples R China
关键词
Software defect prediction; Association rule mining; Class imbalance; Item importance; Interestingness measure; FEATURE-SELECTION; ALGORITHM;
D O I
10.1016/j.engappai.2023.107622
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Software defect prediction technology is used to assist software practitioners in effectively allocating test resources and identifying hidden defects in a timely manner. However, the prediction of defect-prone software using association rule mining algorithms is limited because of the unbalanced distribution of defect data. Furthermore, although the existing weighted association rule mining approach considers item strength, the weight calculation still relies on expert experience and lacks fine granularity. We propose a novel software defect prediction approach based on mutual information and correlation coefficient weighted class association rule mining (MCWCAR). The MCWCAR model employs a cost-sensitive strategy and generates frequent itemsets according to three mining objectives while maintaining the original item distribution: defective class rules, non-defective class rules, and feature association relationships. During the weighted frequent itemset mining process, it combines feature selection and itemset screening to determine the appropriate feature combination through mutual information weighted support. Meanwhile, the correlation coefficient is applied to accurately depict the correlation between feature items and defect classes, serving as the weight to mine class association rules. Additionally, to ensure that interestingness measures have asymmetry and effectively represent negative associations under the condition of class imbalance, the added value. is adopted in the filtering association rules. We conducted experiments on 27 open-source datasets and evaluated the performance differences between MCWCAR and state-of-the-art baseline classifiers. Experimental results demonstrate that the proposed algorithm significantly outperforms other baselines in terms of Balance, Gmean, MCC and F-measure.
引用
收藏
页数:21
相关论文
共 50 条
  • [1] Software defect prediction based on correlation weighted class association rule mining
    Shao, Yuanxun
    Liu, Bin
    Wang, Shihai
    Li, Guoqi
    [J]. KNOWLEDGE-BASED SYSTEMS, 2020, 196
  • [2] Software Defect Prediction Based on Association Rule Classification
    Ma, Baojun
    Dejaeger, Karel
    Vanthienen, Jan
    Baesens, Bart
    [J]. ELECTRONIC-BUSINESS INTELLIGENCE: FOR CORPORATE COMPETITIVE ADVANTAGES IN THE AGE OF EMERGING TECHNOLOGIES & GLOBALIZATION, 2010, 14 : 396 - +
  • [3] A novel software defect prediction based on atomic class-association rule mining
    Shao, Yuanxun
    Liu, Bin
    Wang, Shihai
    Li, Guoqi
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2018, 114 : 237 - 254
  • [4] SOFTWARE DEFECT PREDICTION USING INTERTRANSACTION ASSOCIATION RULE MINING
    Chang, Ching-Pao
    Chu, Chih-Ping
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2009, 19 (06) : 747 - 764
  • [5] Software defect prediction using relational association rule mining
    Czibula, Gabriela
    Marian, Zsuzsanna
    Czibula, Istvan Gergely
    [J]. INFORMATION SCIENCES, 2014, 264 : 260 - 278
  • [6] A novel rule ordering approach in classification association rule mining
    Wang, Yanbo J.
    Xin, Qin
    Coenen, Frans
    [J]. MACHINE LEARNING AND DATA MINING IN PATTERN RECOGNITION, PROCEEDINGS, 2007, 4571 : 339 - +
  • [7] Adaptive PSO based Association Rule Mining Technique for Software Defect Classification using ANN
    Dhanalaxmi, B.
    Naidu, G. Apparao
    Anuradha, K.
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGIES, ICICT 2014, 2015, 46 : 432 - 442
  • [8] A Software Defect Prediction Classifier based on Three Minimum Support Threshold Association Rule Mining
    Wu, Wentao
    Wang, Shihai
    Shao, Yuanxun
    Zhang, Mingxing
    Xie, Wandong
    [J]. 2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY COMPANION, QRS-C, 2022, : 278 - 282
  • [9] A new approach to classification based on association rule mining
    Chen, Guoqing
    Liu, Hongyan
    Yu, Lan
    Wei, Qiang
    Zhang, Xing
    [J]. DECISION SUPPORT SYSTEMS, 2006, 42 (02) : 674 - 689
  • [10] Transmission line defect state prediction based on association rule mining
    Ye W.
    Su C.
    Luo M.
    Zeng Y.
    Yan Z.
    Liu Y.
    [J]. Dianli Xitong Baohu yu Kongzhi/Power System Protection and Control, 2021, 49 (20): : 104 - 111