Visual Spectrum-Based Fault Localization for Python Programs Based on the Differentiation of Execution Slices

Forskningsoutput: Kapitel i bok/konferenshandlingPublicerad konferensartikelVetenskapligPeer review

13 Nedladdningar (Pure)

Sammanfattning

We present an automated fault localization technique that can assist developers to localize effectively faults in Python programs. The proposed method uses spectrum-based fault localization techniques, program slicing, and graph-based visualization to formulate an efficient method for reducing the effort needed in fault localization. The approach takes the source code of a program, a set of passed and failed tests and collects the program spectra information by executing the tests. A tool, FaultLocalizer, facilitates the generation of a call graph for inter-procedural dependency analysis and annotated control flow graphs for different modules with spectra information and suspiciousness scores. The focus of the approach is on the visual analysis of the source code, and it is intended to complement existing fault localization approaches. The effectiveness of the proposed approach is evaluated on a set of buggy Python programs. The results show that the approach reduces debugging efforts and can be applied to programs with conditional branching.

OriginalspråkEngelska
Titel på värdpublikation2025 IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2025
RedaktörerAnna Rita Fasolino, Sebastiano Panichella, Aldeida Aleti, Ali Mesbah
FörlagIEEE
Sidor217-225
ISBN (elektroniskt)979-8-3315-3467-7
ISBN (tryckt)979-8-3315-3468-4
DOI
StatusPublicerad - 16 apr. 2025
MoE-publikationstypA4 Artikel i en konferenspublikation
EvenemangIEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) -
Varaktighet: 31 mars 2025 → …

Publikationsserier

Namn2025 IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2025

Konferens

KonferensIEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW)
Period31/03/25 → …

Finansiering

This work was partially funded by the the European Union's Horizon 2020 research and innovation programme, under grant agreement No. 957212 (VeriDevOps) and by Business Finland via the Virtual Sea Trial project (VST), under grant 7187/31/2023.

Fingeravtryck

Fördjupa i forskningsämnen för ”Visual Spectrum-Based Fault Localization for Python Programs Based on the Differentiation of Execution Slices”. Tillsammans bildar de ett unikt fingeravtryck.

Citera det här