arrow
返回

Using contextual knowledge in interactive fault localization

delete2022-08-06
delete4
delete
OA
AI
F
Ferenc Horváth *
Á
Árpád Beszédes
B
Béla Vancsics
G
Gergő Balogh
L
László Vidács
T
Tibor Gyimóthy
DOI:10.1007/s10664-022-10190-xdelete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Tool support for automated fault localization in program debugging is limited because state-of-the-art algorithms often fail to provide efficient help to the user. They usually offer a ranked list of suspicious code elements, but the fault is not guaranteed to be found among the highest ranks. In Spectrum-Based Fault Localization (SBFL) - which uses code coverage information of test cases and their execution outcomes to calculate the ranks -, the developer has to investigate several locations before finding the faulty code element. Yet, all the knowledge she a priori has or acquires during this process is not reused by the SBFL tool. There are existing approaches in which the developer interacts with the SBFL algorithm by giving feedback on the elements of the prioritized list. We propose a new approach called iFL which extends interactive approaches by exploiting contextual knowledge of the user about the next item in the ranked list (e. g., a statement), with which larger code entities (e. g., a whole function) can be repositioned in their suspiciousness. We implemented a closely related algorithm proposed by Gong et al., called Talk. First, we evaluated iFL using simulated users, and compared the results to SBFL and Talk. Next, we introduced two types of imperfections in the simulation: user's knowledge and confidence levels. On SIR and Defects4J, results showed notable improvements in fault localization efficiency, even with strong user imperfections. We then empirically evaluated the effectiveness of the approach with real users in two sets of experiments: a quantitative evaluation of the successfulness of using iFL, and a qualitative evaluation of practical uses of the approach with experienced developers in think-aloud sessions.
Keyword:
Spectrum-based fault localization
Automated debugging
Interactive debugging
User simulation
User study
Think-aloud sessions

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

S
szeged university
学者数:
9.6K
论文数: 6.7K
被引数: 3
引用论文

引用论文

Exclusion of Women From Clinical Research: Myth or Reality?
err2008-05-01
err0
PREAI
errWendy A. Rogers; Angela J. Ballantyne
err分享
err收藏
It Can’t Happen to Me: Travel Risk Perceptions
err2014-10-07
err0
PREAI
errBrent W. Ritchie; P. Monica Chien; Bernadette M. Watson
err分享
err收藏
err分享
err收藏
A Survey on Software Fault Localization软件故障定位研究综述
err2016-08-01
err741
errOAAI
errWong, W. Eric; Gao, Ruizhi; Li, Yihao; Abreu, Rui; Wotawa, Franz
err分享
err收藏
Heat Transfer in Pebble Beds for Fusion Blankets
err2017-05-09
err0
PREAI
errMario Dalle Donne; Giancarlo Sordon
err分享
err收藏
A Survey of Algorithmic Debugging算法调试综述
err2017-08-30
err23
errOAAI
errCaballero, Rafael; Riesco, Adrian; Silva, Josep
err分享
err收藏
学者 查看更多内容