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 条
  • [1] Abal I., 2014, Proceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering, ASE '14, P421, DOI [10.1145/2642937.2642990, DOI 10.1145/2642937.2642990]
  • [2] Spectrum-based Multiple Fault Localization
    Abreu, Rui
    Zoeteweij, Peter
    van Gemund, Arjan J. C.
    [J]. 2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 88 - 99
  • [3] AGRAWAL H, 1990, SIGPLAN NOTICES, V25, P246, DOI 10.1145/93548.93576
  • [4] Similarity-Based Prioritization in Software Product-Line Testing
    Al-Hajjaji, Mustafa
    Thuem, Thomas
    Meinicke, Jens
    Lochau, Malte
    Saake, Gunter
    [J]. 18TH INTERNATIONAL SOFTWARE PRODUCT LINE CONFERENCE (SPLC 2014), VOL 1, 2014, : 197 - 206
  • [5] [Anonymous], 2011, P 19 ACM SIGSOFT S 1
  • [6] Spectrum-based fault localization in software product lines
    Arrieta, Aitor
    Segura, Sergio
    Markiegi, Urtzi
    Sagardui, Goiuria
    Etxeberria, Leire
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 100 : 18 - 31
  • [7] Bandyopadhyay A., 2012, 2012 IEEE Fifth International Conference on Software Testing, Verification and Validation (ICST 2012), P479, DOI 10.1109/ICST.2012.130
  • [8] Baudry B., 2006, 28th International Conference on Software Engineering Proceedings, P82, DOI 10.1145/1134285.1134299
  • [9] DEFLAKER: Automatically Detecting Flaky Tests
    Bell, Jonathan
    Legunsen, Owolabi
    Hilton, Michael
    Eloussi, Lamyaa
    Yung, Tifany
    Marinov, Darko
    [J]. PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 433 - 444
  • [10] SMBFL: slice-based cost reduction of mutation-based fault localization
    Chaleshtari, Nazanin Bayati
    Parsa, Saeed
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (05) : 4282 - 4314