A coincidental correctness test case identification framework with fuzzy C-means clustering

被引:2
作者
Cao, Heling [1 ,2 ,3 ]
Li, Lei [1 ,2 ]
Chu, Yonghe [1 ,2 ]
Deng, Miaolei [1 ,2 ]
Wang, Panpan [1 ]
Zhao, Chenyang [1 ]
机构
[1] Henan Univ Technol, Coll Informat Sci & Engn, Zhengzhou 450001, Henan, Peoples R China
[2] Henan Univ Technol, Henan Int Joint Lab Grain Informat Proc, Zhengzhou 450001, Henan, Peoples R China
[3] Minist Educ, Key Lab Grain Informat Proc & Control, Zhengzhou 450001, Henan, Peoples R China
基金
中国国家自然科学基金;
关键词
Software debugging; Fault localization; Coincidental correctness; Fuzzy c-means clustering;
D O I
10.1007/s00530-022-01039-w
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Cleansing coincidental correctness test cases has been proven to be useful in software fault localization. However, k-means clustering-based coincidental correctness test cases identification has not been studied yet. k-means clustering is hard classification and each sample point belongs to the cluster with the highest similarity, which leads to the inaccuracy of the cluster-based coincidental correctness. To address this issue, we propose an effective Coincidental Correctness test cases identification framework based on Fuzzy C-Means clustering (CC-FCM). The elements of coincidental correctness were first identified by probability function we designed, and the feature elements of the coincidental correctness were selected. Secondly, fuzzy c-means clustering was first introduced into identifying coincidental correctness test case after the dimensions of program execution traces were reduced. Finally, the results after coincidental correctness cleansing were used for the fault localization. To verify the effectiveness of the proposed CC-FCM, experiments were conducted by four fault localization methods, including Tarantula, Ochiai, Naish2 and Russel & Rao on 10 real-world subject programs. The experimental results showed that our proposed CC-FCM has a significant improvement over the compared methods, and that our approach has a lower false-positive rate and false-negative rate in coincidental correctness test case identification.
引用
收藏
页码:1089 / 1101
页数:13
相关论文
共 27 条
  • [1] Coincidental correctness in the Defects4J benchmark
    Abou Assi, Rawad
    Trad, Chadi
    Maalouf, Marwan
    Masri, Wes
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2019, 29 (03)
  • [2] Abreu R, 2006, 12TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, P39
  • [3] Assi R., 2021, SOFTW TEST VERIF REL, V31, P1
  • [4] CGT-FL: using cooperative game theory to effective fault localization in presence of coincidental correctness
    Feyzi, Farid
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (05) : 3873 - 3927
  • [5] A program slicing-based method for effective detection of coincidentally correct test cases
    Feyzi, Farid
    Parsa, Saeed
    [J]. COMPUTING, 2018, 100 (09) : 927 - 969
  • [6] Avoiding coincidental correctness in boundary value analysis
    Hierons, R. M.
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2006, 15 (03) : 227 - 241
  • [7] Jian Xu, 2011, Proceedings of the 11th International Conference on Quality Software (QSIC 2011), P11, DOI 10.1109/QSIC.2011.32
  • [8] Jones JA, 2002, ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P467, DOI 10.1109/ICSE.2002.1007991
  • [9] Hybrid Missing Value Imputation Algorithms Using Fuzzy C-Means and Vaguely Quantified Rough Set
    Li, Daiwei
    Zhang, Haiqing
    Li, Tianrui
    Bouras, Abdelaziz
    Yu, Xi
    Wang, Tao
    [J]. IEEE TRANSACTIONS ON FUZZY SYSTEMS, 2022, 30 (05) : 1396 - 1408
  • [10] Identify Coincidental Correct Test Cases based on Fuzzy Classification
    Li, Zheng
    Li, Meiying
    Liu, Yong
    Geng, Jingyao
    [J]. 2016 INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, TESTING AND EVOLUTION (SATE 2016), 2016, : 72 - 77