PSC‐SBFL: Combining PSC With SBFL to Improve Software Fault Localization

ABSTRACT Regression testing aims to confirm that program changes do not disrupt existing functionalities. Automated fault localization improves quality and efficiency of regression testing. Spectrum‐based fault localization (SBFL) is adept at identifying faults in program statements using test case execution data. However, SBFL overlooks faults due to structural anomalies and cannot detect nonexistent or redundant statements. This study introduces program structure check (PSC) to address the issue. In regression testing, historical program versions provide valuable information for fault localization. PSC compares the structure of the program being tested with programs of historical versions to find structural differences, like missing code. This increases suspicion scores at these locations. Experimental findings show PSC detects over 90% of structural bugs, with over 76% ranked highest on the suspicion list. We combine PSC with SBFL , termed PSC‐SBFL , and test it on a publicly available program suite and a program suite from a real‐world project to assess bug location effects. Results indicate that adding PSC to SBFL enhances bug ranking by approximately 93% and reduces manual code checking by about 34% when all bugs are identified. Compared with another SBFL ‐based method, PSC‐SBFL demonstrates superior bug localization. These findings underscore how combining PSC and SBFL algorithms enhances bug localization accuracy, expedites bug identification and boosts software quality.

Authors

Institutions

Publication Details

Journal
Software Testing Verification and Reliability
Published
2025-07-19
DOI
https://doi.org/10.1002/stvr.70007
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PSC‐SBFL: Combining PSC With SBFL to Improve Software Fault Localization

Zhonghao Guo, Siwei Ji, Chung-Chi Chen, Xinyue Xu
Software Testing Verification and Reliability
Software Testing and Debugging Techniques
article

PSC‐SBFL: Combining PSC With SBFL to Improve Software Fault Localization

Zhonghao Guo, Siwei Ji, Chung-Chi Chen, Xinyue Xu
article en

Abstract

ABSTRACT Regression testing aims to confirm that program changes do not disrupt existing functionalities. Automated fault localization improves quality and efficiency of regression testing. Spectrum‐based fault localization (SBFL) is adept at identifying faults in program statements using test case execution data. However, SBFL overlooks faults due to structural anomalies and cannot detect nonexistent or redundant statements. This study introduces program structure check (PSC) to address the issue. In regression testing, historical program versions provide valuable information for fault localization. PSC compares the structure of the program being tested with programs of historical versions to find structural differences, like missing code. This increases suspicion scores at these locations. Experimental findings show PSC detects over 90% of structural bugs, with over 76% ranked highest on the suspicion list. We combine PSC with SBFL , termed PSC‐SBFL , and test it on a publicly available program suite and a program suite from a real‐world project to assess bug location effects. Results indicate that adding PSC to SBFL enhances bug ranking by approximately 93% and reduces manual code checking by about 34% when all bugs are identified. Compared with another SBFL ‐based method, PSC‐SBFL demonstrates superior bug localization. These findings underscore how combining PSC and SBFL algorithms enhances bug localization accuracy, expedites bug identification and boosts software quality.

Software Testing Verification and ReliabilityVol. 35(5)
Zhejiang University of Science and Technology (CN), Zhejiang University (CN)
Openalex Percentile: Top 66%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.