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 条
  • [31] An Imbalanced Deep Learning Model for Bug Localization
    Bui Thi Mai Anh
    Nguyen Viet Luyen
    2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE WORKSHOPS (APSECW 2021), 2021, : 32 - 40
  • [32] On the Influence of Biases in Bug Localization: Evaluation and Benchmark
    Widyasari, Ratnadira
    Haryono, Stefanus Agus
    Thung, Ferdian
    Shi, Jieke
    Tan, Constance
    Wee, Fiona
    Phan, Jack
    Lo, David
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 128 - 139
  • [33] Improving Bug Reporting, Duplicate Detection, and Localization
    Chaparro, Oscar
    PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 421 - 424
  • [34] BugLocalizer: Integrated Tool Support for Bug Localization
    Thung, Ferdian
    Le, Tien-Duy B.
    Kochhar, Pavneet Singh
    Lo, David
    22ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (FSE 2014), 2014, : 767 - 770
  • [35] On the relationship between bug reports and queries for text retrieval-based bug localization
    Mills, Chris
    Parra, Esteban
    Pantiuchina, Jevgenija
    Bavota, Gabriele
    Haiduc, Sonia
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (05) : 3086 - 3127
  • [36] Bug Localization for Version Issues With Defect Patterns
    Sun, Xiaobing
    Zhou, Wei
    Li, Bin
    Ni, Zhen
    Lu, Jinting
    IEEE ACCESS, 2019, 7 : 18811 - 18820
  • [37] On the relationship between bug reports and queries for text retrieval-based bug localization
    Chris Mills
    Esteban Parra
    Jevgenija Pantiuchina
    Gabriele Bavota
    Sonia Haiduc
    Empirical Software Engineering, 2020, 25 : 3086 - 3127
  • [38] Influence of Structured Information in Bug Report Descriptions on IR-based Bug Localization
    Rath, Michael
    Maeder, Patrick
    44TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2018), 2018, : 26 - 32
  • [39] Using bug descriptions to reformulate queries during text-retrieval-based bug localization
    Chaparro, Oscar
    Florez, Juan Manuel
    Marcus, Andrian
    EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) : 2947 - 3007
  • [40] Using bug descriptions to reformulate queries during text-retrieval-based bug localization
    Oscar Chaparro
    Juan Manuel Florez
    Andrian Marcus
    Empirical Software Engineering, 2019, 24 : 2947 - 3007