Title: Source code-based context-sensitive dynamic slicing of web applications

Authors: Jagannath Singh; Durga Prashad Mohapatra

Addresses: School of Computer Engineering, KIIT Deemed to be University, Bhubaneswar, India ' Department of Computer Science and Engineering, National Institute of Technology, Rourkela, India

Abstract: Web applications are broadly utilised for spreading business around the globe. To meet the necessities of the huge numbers of users or customers, the web applications must have better quality and robustness than any other applications where the number of users is limited. Program slicing is found to be useful in improving program understanding, analysis, testing and maintenance. This paper presents a context-sensitive slicing technique for web applications. In this paper, a new intermediate representation called web dependence graph (WDG) is proposed for representing all dependencies that may present in a web application. We have proposed a context-sensitive web slicing (CSWS) algorithm for computation of slices of a given web application using the WDG. A tool is developed for automatic generation of the WDG for a given web application and computation of slices. During our literature survey, we noticed that majority of the automatic graph generation tools are mainly based on byte-code whereas our tool uses the dependency analysis from the source code of the given program. Using our tool WDG, we compared the performance of our proposed CSWS algorithm for slicing with other closely related slicing techniques.

Keywords: program slicing; JSP application; source code analysis; context sensitive; dynamic slicing.

DOI: 10.1504/IJICT.2019.103203

International Journal of Information and Communication Technology, 2019 Vol.15 No.4, pp.391 - 418

Received: 09 Feb 2018
Accepted: 06 Nov 2018

Published online: 22 Oct 2019 *

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