Detecting false-passing products and mitigating their impact on variability fault localization in software product lines

被引:3
作者
Nguyen, Thu-Trang [1 ]
Ngo, Kien-Tuan [1 ]
Nguyen, Son [1 ]
Vo, Hieu Dinh [1 ]
机构
[1] VNU Univ Engn & Technol, Fac Informat Technol, Hanoi, Vietnam
关键词
False-passing products; Variability bugs; Coincidental correctness; Fault localization; Software product line; TEST SUITES;
D O I
10.1016/j.infsof.2022.107080
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In a Software Product Line (SPL) system, variability bugs can cause failures in certain products (buggy products), not in the others. In practice, variability bugs are not always exposed, and buggy products can still pass all the tests due to their ineffective test suites (so-called false-passing products). The misleading indi-cations caused by those false-passing products' test results can negatively impact variability fault localization performance. In this paper, we introduce CLAP, a novel approach to detect false-passing products in SPL systems failed by variability bugs. Our key idea is that given a set of tested products of an SPL system, we collect failure indications in failing products based on their implementation and test quality. For a passing product, we evaluate these indications, and the stronger indications, the more likely the product is false-passing. Specifically, the possibility of the product to be false-passing is evaluated based on if it has a large number of the statements which are highly suspicious in the failing products, and if its test suite is in lower quality compared to the failing products' test suites. We conducted several experiments to evaluate our false-passing product detection approach on a large benchmark of 14,191 false-passing products and 22,555 true-passing products in 823 buggy versions of the existing SPL systems. The experimental results show that CLAP can effectively detect false-passing and true-passing products with the average accuracy of more than 90%. Especially, the precision of false-passing product detection by CLAP is up to 96%. This means, among 10 products predicted as false-passing products, more than 9 products are precisely detected. Furthermore, we propose two simple and effective methods to mitigate the negative impact of false-passing products on variability fault localization. These methods can improve the performance of the state-of-the-art variability fault localization techniques by up to 34%.
引用
收藏
页数:13
相关论文
共 59 条
  • [31] Marijan Dusica., 2013, Proceedings of the 17th International Software Product Line Conference. SPLC'13, P227, DOI DOI 10.1145/2491627.2491646
  • [32] Masri Wes, 2010, Proceedings of the Third IEEE International Conference on Software Testing, Verification and Validation (ICST 2010), P165, DOI 10.1109/ICST.2010.22
  • [33] Prevalence of Coincidental Correctness and Mitigation of its Impact on Fault Localization
    Masri, Wes
    Abou Assi, Rawad
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2014, 23 (01)
  • [34] Mresa E. S., 1999, Software Testing, Verification and Reliability, V9, P205, DOI 10.1002/(SICI)1099-1689(199912)9:4<205::AID-STVR186>3.0.CO
  • [35] 2-X
  • [36] A Model for Spectra-Based Software Diagnosis
    Naish, Lee
    Lee, Hua Jie
    Ramamohanarao, Kotagiri
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2011, 20 (03)
  • [37] Feature-Interaction Aware Configuration Prioritization for Configurable Code
    Nguyen, Son
    Nguyen, Hoan
    Tran, Ngoc
    Tran, Hieu
    Nguyen, Tien N.
    [J]. 34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 489 - 501
  • [38] Feature-Interaction Aware Configuration Prioritization
    Nguyen, Son
    [J]. ESEC/FSE'18: PROCEEDINGS OF THE 2018 26TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2018, : 974 - 976
  • [39] A Survey of Combinatorial Testing
    Nie, Changhai
    Leung, Hareton
    [J]. ACM COMPUTING SURVEYS, 2011, 43 (02)
  • [40] Oster S, 2010, LECT NOTES COMPUT SC, V6287, P196, DOI 10.1007/978-3-642-15579-6_14