Busca avançada
Ano de início
Entree


Understanding the use of spectrum-based fault localization

Texto completo
Autor(es):
de Souza, Higor Amario ; Lauretto, Marcelo de Souza ; Kon, Fabio ; Chaim, Marcos Lordello
Número total de Autores: 4
Tipo de documento: Artigo Científico
Fonte: JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS; v. N/A, p. 26-pg., 2023-10-11.
Resumo

Developers spend significant time locating and fixing bugs, which is often performed manually. Although spectrum-based fault localization (SFL) techniques aim at helping developers to locate faults, they are not yet used in practice. Recent studies have investigated how developers use SFL, presenting different conclusions about their effectiveness and usefulness. We carried out a user study to further enhance the understanding of SFL. We assessed whether SFL improves the developers' performance and to what extent SFL leads developers to inspect faulty code excerpts. We also investigated the intention of the developers to use SFL and how they interact with SFL. Twenty-six participants performed debugging tasks using real programs, with and without using the Jaguar SFL tool. Using SFL, more developers located and fixed the bugs. SFL also led more developers to inspect the faulty code and locate the faulty method. However, they did not spend less time locating the faults. SFL was well-accepted by the participants, who showed intention to use it in their daily activities. Our results indicate that SFL is useful even when the fault is not ranked among the first positions, leading developers to reach faulty code regions and find the bugs. This paper presents a user study of spectrum-based fault localization (SFL), showing that SFL can improve the developers' debugging effectiveness, leading them close to faulty code excerpts. SFL was well-accepted by the participants of our study but should rank faulty code among the first picks to be effective. image (AU)

Processo FAPESP: 14/23030-5 - Avaliação do uso prático de técnica de localização de defeitos
Beneficiário:Higor Amario de Souza
Modalidade de apoio: Bolsas no Exterior - Estágio de Pesquisa - Doutorado
Processo FAPESP: 13/24992-2 - Localização de Defeitos em Depuração Automatizada
Beneficiário:Higor Amario de Souza
Modalidade de apoio: Bolsas no Brasil - Doutorado
Processo FAPESP: 14/50937-1 - INCT 2014: da Internet do Futuro
Beneficiário:Fabio Kon
Modalidade de apoio: Auxílio à Pesquisa - Temático