GBSR: Graph-based suspiciousness refinement for improving fault localization

被引:0
作者
Li, Zheng [1 ]
Li, Mingyu [1 ]
Wu, Shumei [1 ]
Xu, Shunqing [1 ]
Chen, Xiang [2 ]
Liu, Yong [1 ]
机构
[1] Beijing Univ Chem Technol, Coll Informat Sci & Technol, Beijing, Peoples R China
[2] Nantong Univ, Sch Informat Sci & Technol, Nantong, Peoples R China
基金
中国国家自然科学基金;
关键词
Fault localization; Suspiciousness refinement; Graph-based representation; Mutation analysis; PageRank algorithm; REDUCTION; STRATEGY;
D O I
10.1016/j.jss.2024.112189
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Fault Localization (FL) is an important and time-consuming phase of software debugging. The essence of FL lies in the process of calculating the suspiciousness of different program entities (e.g., statements) and generating a ranking list to guide developers in their code inspection. Nonetheless, a prevalent challenge within existing FL methodologies is the propensity for program entities with analogous execution information to receive a similar suspiciousness. This phenomenon can lead to confusion among developers, thereby reducing the effectiveness of debugging significantly. To alleviate this issue, we introduce fine-grained contextual information (such as partial code structural, coverage, and features from mutation analysis) to enrich the characteristics of program entities. Graphical structures are proposed to organize such information, where the passed and failed tests are constructed separately with the consideration of their differential impacts. In order to support the analysis of multidimensional features and the representation of large-scale programs, the PageRank algorithm is adopted to compute each program entity's weight. Rather than altering the fundamental FL process, we leverage these computed weights to refine the suspiciousness produced by various FL techniques, thereby providing developers with a more precise and actionable ranking of potential fault locations. The proposed strategy Graph-Based Suspiciousness Refinement (GBSR) is evaluated on 243 real-world faulty programs from the Defects4J. The results demonstrate that GBSR can improve the accuracy of various FL techniques. Specifically, for the refinement with traditional SBFL and MBFL techniques, the number of faults localized by the first position of the ranking list ( Top-1) is increased by 189% and 68%, respectively. Furthermore, GBSR can also boost the state-of-the-art learning-based FL technique Grace by achieving a 2.8% performance improvement in Top-1.
引用
收藏
页数:14
相关论文
共 61 条
  • [1] Abreu R, 2006, 12TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, P39
  • [2] Searching for Multi-fault Programs in Defects4J
    An, Gabin
    Yoon, Juyeon
    Yoo, Shin
    [J]. SEARCH-BASED SOFTWARE ENGINEERING (SSBSE 2021), 2021, 12914 : 153 - 158
  • [3] BASILI VR, 1989, PROCEEDINGS : THE THIRTEENTH ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE, P471, DOI 10.1109/CMPSAC.1989.65127
  • [4] Using machine learning to support debugging with Tarantula
    Briand, Lionel C.
    Labiche, Yvan
    Liu, Xuetao
    [J]. ISSRE 2007: 18TH IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2007, : 137 - +
  • [5] Campos J, 2012, IEEE INT CONF AUTOM, P378, DOI 10.1145/2351676.2351752
  • [6] Pinpoint: Problem determination in large, dynamic Internet services
    Chen, MY
    Kiciman, E
    Fratkin, E
    Fox, A
    Brewer, E
    [J]. INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, PROCEEDINGS, 2002, : 595 - 604
  • [7] Software defect number prediction: Unsupervised vs supervised methods
    Chen, Xiang
    Zhang, Dun
    Zhao, Yingquan
    Cui, Zhanqi
    Ni, Chao
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 106 : 161 - 181
  • [8] Applying Feature Selection to Software Defect Prediction using Multi-objective Optimization
    Chen, Xiang
    Shen, Yuxiang
    Cui, Zhanqi
    Ju, Xiaolin
    [J]. 2017 IEEE 41ST ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 2, 2017, : 54 - 59
  • [9] Ching W-K., 2006, Models, algorithms and applications
  • [10] Exploring the Triggering Modes of Spectrum-Based Fault Localization: An Industrial Case
    Dao, Tung
    Wang, Max
    Meng, Na
    [J]. 2021 14TH IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2021), 2021, : 406 - 416