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 条
  • [41] Structured information in bug report descriptions—influence on IR-based bug localization and developers
    Michael Rath
    Patrick Mäder
    Software Quality Journal, 2019, 27 : 1315 - 1337
  • [42] Analyzing Requirements and Traceability Information to Improve Bug Localization
    Rath, Michael
    Lo, David
    Maeder, Patrick
    2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, : 442 - 453
  • [43] Augmenting Bug Localization with Part-of-Speech and Invocation
    Zhou, Yu
    Tong, Yanxiang
    Chen, Taolue
    Han, Jin
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2017, 27 (06) : 925 - 949
  • [44] Improving Bug Localization using Structured Information Retrieval
    Saha, Ripon K.
    Lease, Matthew
    Khurshid, Sarfraz
    Perry, Dewayne E.
    2013 28TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2013, : 345 - 355
  • [45] Software Bug Localization Based on Key Range Invariants
    Ma, Lin
    Ding, Zuohua
    SOFTWARE ANALYSIS, TESTING, AND EVOLUTION, SATE 2018, 2018, 11293 : 20 - 32
  • [46] BugRadar: Bug localization by knowledge graph link prediction
    Xiao, Xi
    Xiao, Renjie
    Li, Qing
    Lv, Jianhui
    Cui, Shunyan
    Liu, Qixu
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 162
  • [47] DependLoc: A Dependency-based Framework For Bug Localization
    Yuan, Wei
    Qi, Binhang
    Sun, Hailong
    Liu, Xudong
    2020 27TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2020), 2020, : 61 - 70
  • [48] Bug Localization in Model-Based Systems in the Wild
    Arcega, Lorena
    Font, Jaime
    Haugen, Oystein
    Cetina, Carlos
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2022, 31 (01)
  • [49] Bug Localization with Combination of Deep Learning and Information Retrieval
    An Ngoc Lam
    Anh Tuan Nguyen
    Hoan Anh Nguyen
    Nguyen, Tien N.
    2017 IEEE/ACM 25TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2017, : 218 - 229
  • [50] Improving Bug Localization using Correlations in Crash Reports
    Wang, Shaohua
    Khomh, Foutse
    Zou, Ying
    2013 10TH IEEE WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2013, : 247 - 256