Improving Spectrum-Based Fault Localization using quality assessment and optimization of a test suite

Chang Liu, Chunyan Ma, Tao Zhang

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

4 Scopus citations

Abstract

Spectral fault localization is an automatic fault-localization technique to expedite debugging, which uses risk evaluation formula to rank the risk of fault existence in each program entity after collecting testing information. To assess the potential usefulness of a test suite and improves the accuracy for spectral fault localization, methods of assessing and optimizing test suite are proposed in this paper, which. Firstly, Average Ranking Cost of the test suite quality and two kinds of constrains are defined; and test suite quality assessment method based on these definitions is given. Secondly, a new test suite optimization method based on greedy algorithm is proposed. Finally, two widely used program databases (SIR and Defects4j) and 8 SFL techniques are applied to verify the effectiveness of our method; and the fault localization cost before and after optimizing test suites of test objects are analyzed using effect size. The largest effect size reaches 0.5398 and Each SFL technology has different degrees of improvement in the rankings of faulty statements in different programs by optimizing test suite.

Original languageEnglish
Title of host publicationProceedings - Companion of the 2020 IEEE 20th International Conference on Software Quality, Reliability, and Security, QRS-C 2020
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages72-78
Number of pages7
ISBN (Electronic)9781728189154
DOIs
StatePublished - Dec 2020
Event20th IEEE International Conference on Software Quality, Reliability, and Security, QRS 2020 - Macau, China
Duration: 11 Dec 202014 Dec 2020

Publication series

NameProceedings - Companion of the 2020 IEEE 20th International Conference on Software Quality, Reliability, and Security, QRS-C 2020

Conference

Conference20th IEEE International Conference on Software Quality, Reliability, and Security, QRS 2020
Country/TerritoryChina
CityMacau
Period11/12/2014/12/20

Keywords

  • Average Ranking Cost
  • Spectral fault localization
  • Test suite quality assessment

Fingerprint

Dive into the research topics of 'Improving Spectrum-Based Fault Localization using quality assessment and optimization of a test suite'. Together they form a unique fingerprint.

Cite this