Skip to main navigation Skip to search Skip to main content

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

Research output: Chapter in Book/Conference proceeding › Published conference proceeding › Scientific › peer-review

13 Downloads (Pure)

Abstract

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.

Original languageEnglish
Title of host publication2025 IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2025
EditorsAnna Rita Fasolino, Sebastiano Panichella, Aldeida Aleti, Ali Mesbah
PublisherIEEE
Pages217-225
ISBN (Electronic)979-8-3315-3467-7
ISBN (Print)979-8-3315-3468-4
DOIs
Publication statusPublished - 16 Apr 2025
MoE publication typeA4 Article in a conference publication
EventIEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) -
Duration: 31 Mar 2025 → …

Publication series

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

Conference

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

Funding

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.

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 9 - Industry, Innovation, and Infrastructure
    SDG 9 Industry, Innovation, and Infrastructure

Keywords

  • Spectrum-based fault localization
  • program slicing
  • program spectra

Fingerprint

Dive into the research topics of 'Visual Spectrum-Based Fault Localization for Python Programs Based on the Differentiation of Execution Slices'. Together they form a unique fingerprint.

Cite this