Statements versus predicates in spectral bug localization

被引:4
|
作者
Naish, Lee [1 ]
Lee, Hua Jie [1 ]
Ramamohanarao, Kotagiri [1 ]
机构
[1] Univ Melbourne, Comp Sci & Software Engn, Melbourne, Vic, Australia
来源
17TH ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2010) | 2010年
关键词
bug localization; program spectra; statements; branches; predicates; paths;
D O I
10.1109/APSEC.2010.50
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper investigates the relationship between the use of predicate-based and statement-based program spectra for bug localization. Branch and path spectra are also considered. Although statement and predicate spectra can be based on the same raw data, the way the data is aggregated results in different information being lost. We propose a simple and cheap modification to the statement-based approach which retains strictly more information. This allows us to compare statement and predicate "metrics" (functions used to rank the statements, predicates or paths). We show that improved bug localization performance is possible using single-bug models and benchmarks.
引用
收藏
页码:375 / 384
页数:10
相关论文
共 50 条
  • [21] A deep multimodal model for bug localization
    Ziye Zhu
    Yun Li
    Yu Wang
    Yaojing Wang
    Hanghang Tong
    Data Mining and Knowledge Discovery, 2021, 35 : 1369 - 1392
  • [22] WELL: Applying bug detectors to bug localization via weakly supervised learning
    Zhang, Huangzhao
    Li, Zhuo
    Li, Jia
    Jin, Zhi
    Li, Ge
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (09)
  • [23] Statement Level Software Bug Localization Based on Historical Bug Information Retrieval
    Yue, Lei
    Cui, Zhan-Qi
    Chen, Xiang
    Wang, Rong-Cun
    Li, Li
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (10): : 4642 - 4661
  • [24] Bug Localization via Supervised Topic Modeling
    Wang, Yaojing
    Yao, Yuan
    Tong, Hanghang
    Huo, Xuan
    Li, Ming
    Xu, Feng
    Lu, Jian
    2018 IEEE INTERNATIONAL CONFERENCE ON DATA MINING (ICDM), 2018, : 607 - 616
  • [25] An approach of method-level bug localization
    Ni, Zhen
    Bo, Lili
    Li, Bin
    Chen, Tianhao
    Sun, Xiaobing
    Wu, Xiaoxue
    IET SOFTWARE, 2022, 16 (04) : 422 - 437
  • [26] Bug localization method based on Gaussian processes
    Chen, Li-Guo
    Liu, Chao
    Ruan Jian Xue Bao/Journal of Software, 2014, 25 (06): : 1169 - 1179
  • [27] On Combining IR Methods to Improve Bug Localization
    Khatiwada, Saket
    Tushev, Miroslav
    Mahmoud, Anas
    2020 IEEE/ACM 28TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC, 2020, : 252 - 262
  • [28] A systematic mapping study of bug reproduction and localization
    Wang, Di
    Galster, Matthias
    Morales-Trujillo, Miguel
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 165
  • [29] The ABLoTS Approach for Bug Localization: is it replicable and generalizable?
    Niu, Feifei
    Mayr-Dorn, Christoph
    Assuncao, Wesley K. G.
    Huang, LiGuo
    Ge, Jidong
    Luo, Bin
    Egyed, Alexander
    2023 IEEE/ACM 20TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2023, : 576 - 587
  • [30] Bug localization using latent Dirichlet allocation
    Lukins, Stacy K.
    Kraft, Nicholas A.
    Etzkorn, Letha H.
    INFORMATION AND SOFTWARE TECHNOLOGY, 2010, 52 (09) : 972 - 990