Identifying and Detecting Inaccurate Stack Traces in Bug Reports

被引:0
|
作者
Bheree, Meher Kiran [1 ]
Anvik, John [1 ]
机构
[1] Univ Lethbridge, Dept Math & Comp Sci, Lethbridge, AB, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Bug report; Stack traces; Machine Learning;
D O I
10.1109/ICoSSE62619.2024.00010
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Bug reports contain a combination of structured and unstructured information, with the stack trace being one of the most important structured pieces of information. However, stack traces that do not contain accurate fault location information can lead to significant delays in software maintenance. This work examines eight projects from two open-source software communities to understand how to identify and detect inaccurate stack traces in bug reports. Using our approach to detecting inaccurate stack traces, we found that accurate fault location information is found roughly 33% of the time in the top frame, 50% in the Top-3 frames, 75% in the Top-5 frames and that the information accuracy does not significantly improve beyond this point. Next, we found that roughly 33% of stack traces can be considered inaccurate using the Top-5 stack trace frames. Third, NPEs commonly occur in inaccurate stack traces, and project-specific exceptions occur too infrequently to likely be useful in identifying inaccurate stack traces. Finally, the best machine learning classifier to identify inaccurate stack traces in a project's bug reports uses a linear regression algorithm trained using the filename, method name and exception name from the top frame of a stack trace. Depending on the project, this classifier has a 78-98% accuracy, 60-94% precision, and 16-97% recall.
引用
收藏
页码:9 / 14
页数:6
相关论文
共 50 条
  • [1] Cross Platform Bug Correlation using Stack Traces
    Ghafoor, Maryam Abdul
    Siddiqui, Junaid Haroon
    PROCEEDINGS OF 14TH INTERNATIONAL CONFERENCE ON FRONTIERS OF INFORMATION TECHNOLOGY PROCEEDINGS - FIT 2016, 2016, : 199 - 204
  • [2] Identifying misclassified bug reports
    Hu, Suo
    Zou, Zhou
    PROCEEDINGS OF THE 2017 2ND INTERNATIONAL CONFERENCE ON MATERIALS SCIENCE, MACHINERY AND ENERGY ENGINEERING (MSMEE 2017), 2017, 123 : 1514 - 1520
  • [3] Bug Traces: Identifying and Downsizing Packet Traces with Failures Triggered in Networking Devices
    Lin, Ying-Dar
    Lu, Chun-Nan
    Lai, Yuan-Cheng
    Eliezer, Zongo Pawendtaore
    IEEE COMMUNICATIONS MAGAZINE, 2014, 52 (04) : 112 - 119
  • [4] On the Use of Stack Traces to Improve Text Retrieval-based Bug Localization
    Moreno, Laura
    Treadway, John Joseph
    Marcus, Andrian
    Shen, Wuwei
    2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, : 151 - 160
  • [5] Detecting Duplicate Bug Reports with Convolutional Neural Networks
    Xie, Qi
    Wen, Zhiyuan
    Zhu, Jieming
    Gao, Cuiyun
    Zheng, Zibin
    2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2018), 2018, : 416 - 425
  • [6] AVS - An approach to identifying and mitigating duplicate bug reports
    Santos, Ivan
    Araujo, Joelson
    Lima, Cloves
    Prudencio, Ricardo B. C.
    Barros, Flavia
    PROCEEDINGS OF THE 14TH BRAZILIAN SYMPOSIUM ON INFORMATION SYSTEMS (SBSI2018), 2018, : 168 - 174
  • [7] EnHMM: On the Use of Ensemble HMMs and Stack Traces to Predict the Reassignment of Bug Report Fields
    Islam, Md Shariful
    Hamou-Lhadj, Abdelwahab
    Sabor, Korosh Koochekian
    Hamdaqa, Mohammad
    Cai, Haipeng
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, : 411 - 421
  • [8] Detecting Duplicate Bug Reports with Software Engineering Domain Knowledge
    Aggarwal, Karan
    Rutgers, Tanner
    Timbers, Finbarr
    Hindle, Abram
    Greiner, Russ
    Stroulia, Eleni
    2015 22ND INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), 2015, : 211 - 220
  • [9] Detecting duplicate bug reports with software engineering domain knowledge
    Aggarwal, Karan
    Timbers, Finbarr
    Rutgers, Tanner
    Hindle, Abram
    Stroulia, Eleni
    Greiner, Russell
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2017, 29 (03)
  • [10] Identifying non-natural language artifacts in bug reports
    Hirsch, Thomas
    Hofer, Birgit
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS (ASEW 2021), 2021, : 191 - 197