EASE 2024
Tue 18 - Fri 21 June 2024 Salerno, Italy
Thu 20 Jun 2024 11:00 - 11:15 at Room Capri - Defects Chair(s): Davide Falessi

Spectrum-Based Fault Localization (SBFL) is a popular technique to assist developers in pinpointing faulty elements within their code based on test outcomes and code coverage. In this paper, we examine the impact of context switching, i.e., when developers must frequently shift their attention between different code parts (such as methods and classes) while searching for the faulty statement within the SBFL ranked list. The basis of our study is the observation that it requires less effort to investigate statements that are next to each other rather than those in different methods and classes. In particular, we analyse the number of visited methods and classes, as well as the frequency of switches between them during the fault localization process. We found that, in programs from the Defects4J benchmark, developers need to explore 40 methods and 12 classes on average, before finding the faulty statement, leading to 53 method- and 40 class switches, respectively.

We introduce a novel context-aware metric that better approximates the total cost of finding a bug than traditional metrics that solely count the number of statements. Our metric considers both the statement number and the added cost of context switches. Furthermore, we propose a new algorithm to optimize the traversal of the elements in the ranked list based on the new context-aware metric. The algorithm not only lowers the number of statements that need to be investigated by 12% but also significantly reduces the number of class and method switches by 52%.

Thu 20 Jun

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

11:00 - 12:25
DefectsIndustry / Research Papers / Short Papers, Vision and Emerging Results / Journal-first at Room Capri
Chair(s): Davide Falessi University of Rome Tor Vergata, Italy
11:00
15m
Talk
Context Switch Sensitive Fault LocalizationDistinguished Paper Award
Research Papers
Ferenc Horv�th University of Szeged, Department of Software Engineering, Roland Aszmann University of Szeged, Department of Software Engineering, Péter Attila Soha Department of Software Engineering, University of Szeged, Árpád Beszédes Department of Software Engineering, University of Szeged, Tibor Gyimothy
11:15
15m
Talk
Improving classifier-based effort-aware software defect prediction by reducing ranking errors
Research Papers
Yuchen GUO Xi'an Jiaotong University, Martin Shepperd Brunel University London, Ning Li School of Computer Science, Northwestern Polytechnical University
Pre-print
11:30
15m
Talk
Issues and Their Causes in WebAssembly Applications: An Empirical Study
Research Papers
Muhammad Waseem University of Jyväskylä, Jyväskylä, Finland, Teerath Das University of Jyväskylä, Aakash Ahmad School of Computing and Communications, Lancaster University Leipzig, Leipzig, Germany, Peng Liang Wuhan University, China, Tommi Mikkonen University of Jyvaskyla
Link to publication Pre-print Media Attached
11:45
15m
Talk
Taming App Reliability: Mobile Analytics ‘in the wild’
Industry
Julian Harty Commercetest Limited, Arosha K Bandara The Open University
DOI File Attached
12:00
15m
Talk
Improving the Quality of Software Issue Report Descriptions in Turkish: An Industrial Case Study at Softtech
Journal-first
Ethem Utku Aktas Softtech Inc., Ebru Cakmak Microsoft EMEA, Mete Cihad Inan Softtech Research and Development, Cemal Yilmaz Sabancı University
12:15
10m
Talk
Unraveling the Influences on Bug Fixing Time: A Comparative Analysis of Causal Inference Model
Short Papers, Vision and Emerging Results
Sien Reeve O. Peralta Waseda University, Hironori Washizaki Waseda University, Yoshiaki Fukazawa Waseda University, Yuki Noyori Hitachi, Ltd., Shuhei Nojiri Hitachi, Ltd., Yokohama Reserch Laboratory, Hideyuki Kanuka Hitachi, Ltd.
File Attached