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 条
  • [31] A novel linear assorted classification method based association rule mining with spatial data
    P D Sheena Smart
    K K Thanammal
    S S Sujatha
    [J]. Sādhanā, 2021, 46
  • [32] Software Defect Prediction Based Ensemble Approach
    Harikiran J.
    Chandana B.S.
    Srinivasarao B.
    Raviteja B.
    Reddy T.S.
    [J]. Computer Systems Science and Engineering, 2023, 45 (03): : 2313 - 2331
  • [33] Software defect prediction based on weighted extreme learning machine
    Gai, Jinjing
    Zheng, Shang
    Yu, Hualong
    Yang, Hongji
    [J]. MULTIAGENT AND GRID SYSTEMS, 2020, 16 (01) : 67 - 82
  • [34] MBFP Generalized Association Rule Mining and Classification in Traffic Volume Prediction
    Zhou, Huiyu
    Mabu, Shingo
    Shimada, Kaoru
    Hirasawa, Kotaro
    [J]. IEEJ TRANSACTIONS ON ELECTRICAL AND ELECTRONIC ENGINEERING, 2011, 6 (05) : 457 - 467
  • [35] Fuzzy association rule mining and classification for the prediction of malaria in South Korea
    Buczak, Anna L.
    Baugher, Benjamin
    Guven, Erhan
    Ramac-Thomas, Liane C.
    Elbert, Yevgeniy
    Babin, Steven M.
    Lewis, Sheri H.
    [J]. BMC MEDICAL INFORMATICS AND DECISION MAKING, 2015, 15
  • [36] Software Defect Prediction Based on Collaborative Representation Classification
    Jing, Xiao-Yuan
    Zhang, Zhi-Wu
    Ying, Shi
    Wang, Feng
    Zhu, Yang-Ping
    [J]. 36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE COMPANION 2014), 2014, : 632 - 633
  • [37] Fuzzy association rule mining and classification for the prediction of malaria in South Korea
    Anna L. Buczak
    Benjamin Baugher
    Erhan Guven
    Liane C. Ramac-Thomas
    Yevgeniy Elbert
    Steven M. Babin
    Sheri H. Lewis
    [J]. BMC Medical Informatics and Decision Making, 15
  • [38] A novel FCTF evaluation and prediction model for food efficacy based on association rule mining
    Liu, Yaqun
    Zhang, Zhenxia
    Lin, Wanling
    Liang, Hongxuan
    Lin, Min
    Wang, Junli
    Chen, Lianghui
    Yang, Peikui
    Liu, Mouquan
    Zheng, Yuzhong
    [J]. FRONTIERS IN NUTRITION, 2023, 10
  • [39] S PRAR: A novel relational association rule mining classification model applied for academic performance prediction
    Czibula, Gabriela
    Mihai, Andrei
    Crivei, Liana Maria
    [J]. KNOWLEDGE-BASED AND INTELLIGENT INFORMATION & ENGINEERING SYSTEMS (KES 2019), 2019, 159 : 20 - 29
  • [40] Classification Rule Mining Approach Based on Multiobjective Optimization
    Sag, Tahir
    Kahramanli, Humar
    [J]. 2017 INTERNATIONAL ARTIFICIAL INTELLIGENCE AND DATA PROCESSING SYMPOSIUM (IDAP), 2017,