arrow
返回

VsusFL: Variable-suspiciousness-based Fault Localization for novice programs

delete2023-11-01
delete4
PRE
AI
李征 (Zheng Li)
S
Shumei Wu
Y
Yong Liu *
J
Jitao Shen
Y
Yonghao Wu
Z
Zhanwen Zhang
陈翔 封面图
陈翔 (Xiang Chen)
DOI:10.1016/j.jss.2023.111822delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Automatically localizing faulty statements is a desired feature for effective learning programming. Most of the existing automated fault localization techniques are developed and evaluated on commercial or well-known open-source projects, which performed poorly on novice programs. In this paper, we propose a novel fault localization technique VsusFL (Variable-suspiciousness-based Fault Localization) for novice programs. VsusFL is inspired by simulating the manual program debugging process and takes advantage of variable value sequences. VsusFL can trace variable value changes, determine whether the intermediate state of the variables is correct, and report the potential faulty statements for novice programs. This paper presents the implementation of VsusFL and conducts empirical studies on 422 real faulty novice programs. Experimental results show that VsusFL performs much better than Grace, ANGELINA, VSBFL, Spectrum-Based Fault Localization (SBFL), and Variable-based Fault Localization (VFL) in terms of TOP-1, TOP-3, and TOP-5 metrics. Specifically, VsusFL can localize 90%, 35% and 9% more faulty statements than the best-performing baseline Grace. Moreover, We analyze the correlation between VsusFL and other techniques and find a weak correlation since they perform well on different programs, indicating the potential to further enhance fault localization performance through strategic integration of VsusFL with other methods.& COPY; 2023 Elsevier Inc. All rights reserved.
Keyword:
Novice programs
Fault localization
Variable value sequence
Sequence mapping

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.4K
被引数:
8.4K

机构

B
Beijing University of Chemical Technology
学者数:
3.1W
论文数: 2.2W
被引数: 4.5W
N
Nantong University
学者数:
1.9W
论文数: 1.1W
被引数: 2.0W
引用论文

引用论文

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收藏
err分享
err收藏
Dimorphic study of surgical anatomic landmarks of the lateral ramus of the mandible
err1993-04-01
err0
PREAI
errChristopher H. Martone; Avital Mazar Ben-Josef; Steven M. Wolf; Sheldon M. Mintz
err分享
err收藏
Production and Purification of Cell Culture Hepatitis C Virus
err2018-12-29
err0
PREAI
errCynthia de la Fuente; Maria Teresa Catanese
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
学者 查看更多内容