Title: A dynamic slicing-based approach for effective SBFL technique

Authors: Debolina Ghosh; Jagannath Singh

Addresses: School of Computer Engineering, KIIT Deemed to be University, Bhubaneswar, India ' School of Computer Engineering, KIIT Deemed to be University, Bhubaneswar, India

Abstract: Fault finding is an activity to locate the fault or bug present in a software. It is a very time taking job and needs much more effort if done manually. Hence, automated fault localisation is always in high demand which reduces the human effort and also makes the task more accurate. Among different existing debugging techniques, spectrum-based debugging is the most efficient for automated fault localisation. Dynamic program slicing is another technique which can reduce the debugging time by reducing the unaffected source codes depending on slicing criteria. In this paper, we present a spectrum-based fault localisation technique by using dynamic slicing. Context-sensitive slicing is used to diminish fault localisation time and makes the process more effective. SBFL metrics are used in the sliced program to find the suspiciousness score of individual program statements. The efficiency of the proposed approach is evaluated on three open-source programs. From results, we notice that due to dynamic slicing the technique takes less time to find the suspiciousness score of individual statements in the sliced program compared to original program. We have also observed that the programmer needs to inspect less source code to detect the buggy statement. The result says that the proposed approach outperforms the pure spectrum-based fault localisation techniques.

Keywords: program slicing; spectrum-based fault localisation; statistical formula; Java; context-sensitive.

DOI: 10.1504/IJCSE.2021.113657

International Journal of Computational Science and Engineering, 2021 Vol.24 No.1, pp.98 - 107

Received: 02 Jun 2020
Accepted: 01 Sep 2020

Published online: 15 Mar 2021 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article