Empirical Analysis of Temporal and Spatial Fault Characteristics in Multi-Fault Bug Repositories

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Callaghan, Dylan, van der Spuy, Alexandra, Fischer, Bernd
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918123820548096
author Callaghan, Dylan
van der Spuy, Alexandra
Fischer, Bernd
author_facet Callaghan, Dylan
van der Spuy, Alexandra
Fischer, Bernd
contents Fixing software faults contributes significantly to the cost of software maintenance and evolution. Techniques for reducing these costs require datasets of software faults, as well as an understanding of the faults, for optimal testing and evaluation. In this paper, we present an empirical analysis of the temporal and spatial characteristics of faults existing in 16 open-source Java and Python projects, which form part of the Defects4J and BugsInPy datasets, respectively. Our findings show that many faults in these software systems are long-lived, leading to the majority of software versions having multiple coexisting faults. This is in contrast to the assumptions of the original datasets, where the majority of versions only identify a single fault. In addition, we show that although the faults are found in only a small subset of the systems, these faults are often evenly distributed amongst this subset, leading to relatively few bug hotspots.
format Preprint
id arxiv_https___arxiv_org_abs_2508_08872
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Empirical Analysis of Temporal and Spatial Fault Characteristics in Multi-Fault Bug Repositories
Callaghan, Dylan
van der Spuy, Alexandra
Fischer, Bernd
Software Engineering
D.2.5
Fixing software faults contributes significantly to the cost of software maintenance and evolution. Techniques for reducing these costs require datasets of software faults, as well as an understanding of the faults, for optimal testing and evaluation. In this paper, we present an empirical analysis of the temporal and spatial characteristics of faults existing in 16 open-source Java and Python projects, which form part of the Defects4J and BugsInPy datasets, respectively. Our findings show that many faults in these software systems are long-lived, leading to the majority of software versions having multiple coexisting faults. This is in contrast to the assumptions of the original datasets, where the majority of versions only identify a single fault. In addition, we show that although the faults are found in only a small subset of the systems, these faults are often evenly distributed amongst this subset, leading to relatively few bug hotspots.
title Empirical Analysis of Temporal and Spatial Fault Characteristics in Multi-Fault Bug Repositories
topic Software Engineering
D.2.5
url https://arxiv.org/abs/2508.08872