Re-evaluating Method-Level Bug Prediction

被引:0
|
作者
Pascarella, Luca [1 ]
Palomba, Fabio [2 ]
Bacchelli, Alberto [2 ]
机构
[1] Delft Univ Technol, Delft, Netherlands
[2] Univ Zurich, Zurich, Switzerland
基金
瑞士国家科学基金会;
关键词
empirical software engineering; bug prediction; replication; negative results; SOFTWARE; METRICS; COMPLEXITY; PERFORMANCE; VALIDATION; FAULTS;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Bug prediction is aimed at supporting developers in the identification of code artifacts more likely to be defective. Researchers have proposed prediction models to identify bug prone methods and provided promising evidence that it is possible to operate at this level of granularity. Particularly, models based on a mixture of product and process metrics, used as independent variables, led to the best results. In this study, we first replicate previous research on method-level bug prediction on different systems/timespans. Afterwards, we reflect on the evaluation strategy and propose a more realistic one. Key results of our study show that the performance of the method-level bug prediction model is similar to what previously reported also for different systems/timespans, when evaluated with the same strategy. However-when evaluated with a more realistic strategy-all the models show a dramatic drop in performance exhibiting results close to that of a random classifier. Our replication and negative results indicate that method-level bug prediction is still an open challenge.
引用
收藏
页码:592 / 601
页数:10
相关论文
共 50 条
  • [1] Method-Level Bug Prediction
    Giger, Emanuel
    D'Ambros, Marco
    Pinzger, Martin
    Gall, Harald C.
    PROCEEDINGS OF THE ACM-IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM'12), 2012, : 171 - 180
  • [2] Method-level bug prediction
    Giger, Emanuel
    D'Ambros, Marco
    Pinzger, Martin
    Gall, Harald C.
    International Symposium on Empirical Software Engineering and Measurement, 2012, : 171 - 180
  • [3] Method-level Bug Prediction: Problems and Promises
    Chowdhury, Shaiful
    Uddin, Gias
    Hemmati, Hadi
    Holmes, Reid
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (04)
  • [4] On the performance of method-level bug prediction: A negative result
    Pascarella, Luca
    Palomba, Fabio
    Bacchelli, Alberto
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 161
  • [5] 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
  • [6] Method-Level Bug Severity Prediction using Source Code Metrics and LLMs
    Mashhadi, Ehsan
    Ahmadvand, Hossein
    Hemmati, Hadi
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, ISSRE, 2023, : 635 - 646
  • [7] Method-Level Software Bug Localization Enhanced with File Information
    Bo L.-L.
    Zhu C.
    Li B.
    Sun X.-B.
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2023, 51 (03): : 613 - 621
  • [8] On the Effects of File-level Information on Method-level Bug Localization
    Amasaki, Sousuke
    Aman, Hirohisa
    Yokogawa, Tomoyuki
    2020 46TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2020), 2020, : 314 - 321
  • [9] Men in nursing: Re-evaluating masculinities, re-evaluating gender
    Brown, Brian
    CONTEMPORARY NURSE, 2009, 33 (02) : 120 - 129
  • [10] Method-level bug localization using hybrid multi-objective search
    Almhana, Rafi
    Kessentini, Marouane
    Mkaouer, Wiem
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 131