Prevalence of Coincidental Correctness and Mitigation of its Impact on Fault Localization

被引:108
作者
Masri, Wes [1 ]
Abou Assi, Rawad [1 ]
机构
[1] Amer Univ Beirut, Elect & Comp Engn Dept, Beirut 11072020, Lebanon
基金
美国国家科学基金会;
关键词
Verification; Reliability; Experimentation; Measurement; Coincidental correctness; weak coincidental correctness; strong coincidental correctness; coverage-based fault localization; cluster analysis; fuzzy sets; PROGRAM; CRITERIA;
D O I
10.1145/2559932
中图分类号
TP31 [计算机软件];
学科分类号
081205 [计算机软件];
摘要
Researchers have argued that for failure to be observed the following three conditions must be met: C-R = the defect was reached; C-I = the program has transitioned into an infectious state; and C-P = the infection has propagated to the output. Coincidental Correctness (CC) arises when the program produces the correct output while condition C-R is met but not C-P. We recognize two forms of coincidental correctness, weak and strong. In weak CC, C-R is met, whereas C-I might or might not be met, whereas in strong CC, both C-R and C-I are met. In this work we first show that CC is prevalent in both of its forms and demonstrate that it is a safety reducing factor for Coverage-Based Fault Localization (CBFL). We then propose two techniques for cleansing test suites from coincidental correctness to enhance CBFL, given that the test cases have already been classified as failing or passing. We evaluated the effectiveness of our techniques by empirically quantifying their accuracy in identifying weak CC tests. The results were promising, for example, the better performing technique, using 105 test suites and statement coverage, exhibited 9% false negatives, 30% false positives, and no false negatives nor false positives in 14.3% of the test suites. Also using 73 test suites and more complex coverage, the numbers were 12%, 19%, and 15%, respectively.
引用
收藏
页数:28
相关论文
共 56 条
[1]
Abou-Assi R., 2011, P 1 INT WORKSH TEST
[2]
On the accuracy of spectrum-based fault localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, :89-+
[3]
Abreu R, 2006, 12TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, P39
[4]
Spectrum-based Multiple Fault Localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, :88-99
[5]
A practical evaluation of spectrum-based fault localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
Golsteijn, Rob ;
van Gemund, Arjan J. C. .
JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (11) :1780-1792
[6]
Agrawal H, 1995, SIXTH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, P143, DOI 10.1109/ISSRE.1995.497652
[7]
Ammann P., 2016, INTRO SOFTWARE TESTI
[8]
[Anonymous], 2006, P 23 INT C MACH LEAR
[9]
[Anonymous], 2001, P 24 INT C SOFTW ENG
[10]
[Anonymous], INT WORKSH DEF LARG