arrow
返回

Fault localization using function call frequencies

delete2022-11-01
delete8
delete
OA
AI
B
Béla Vancsics *
F
Ferenc Horváth
A
Attila Szatmári
Á
Árpád Beszédes
DOI:10.1016/j.jss.2022.111429delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
In traditional Spectrum-Based Fault Localization (SBFL), hit-based spectrum is used to estimate a program element's suspiciousness to contain a fault, i.e., only the binary information is used if the code element was executed by the test case or not. Count-based spectra can potentially improve the localization effectiveness due to the number of executions also being available. In this work, we use function-level granularity and define count-based spectra which use function call frequencies. We investigate the naive approach, which simply counts the function call instances. We also define a novel method which is based on counting the different function call contexts, i.e., the frequency of the investigated function occurring in unique call stack instances during test execution. The basic intuition is that if a function is called in many different contexts during a failing test case, it will be more probable to be accountable for the fault. We empirically evaluated the fault localization capability of different variations of the approach and compared them to 9 traditional SBFL techniques using the Defects4J benchmark. We show that: (i) naive counts result in worse rank positions than the hit-based approach, but (ii) unique counts produce better rank positions with some of the algorithm variants. (c) 2022 The Authors. Published by Elsevier Inc. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
Keyword:
Spectrum-Based Fault Localization
Function call frequency
Call stacks
Testing
Debugging
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

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

机构

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

引用论文

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收藏
A practical evaluation of spectrum-based fault localization基于频谱的故障定位的实用评估
err2009-11-01
err380
PREAI
errAbreu, Rui; Zoeteweij, Peter; Golsteijn, Rob; van Gemund, Arjan J. C.
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收藏
Slice-based statistical fault localization基于切片的统计故障定位
err2014-03-01
err104
PREAI
errMao, Xiaoguang; Lei, Yan; Dai, Ziying; Qi, Yuhua; Wang, Chengsong
err分享
err收藏
学者 查看更多内容