Title :
A Novel Approach for Computing Dynamic Slices of Web Based Applications
Author :
Mishra, Shivakant ; Sharma, U. ; Kumar, Chanchal
Author_Institution :
Dept. of Comput. Sci. & Eng., Indian Sch. of Mines, Dhanbad, India
Abstract :
Program slicing is an effective decomposition technique to relevant parts of a program or application during debugging and analysis activities. It extracts slice of codes from a developed program, which have been affected by value of variable for some point of interest. A variant of slicing, dynamic slicing based on specific execution when debugged, yeilds more precise executable slices. Moreover, the dynamic slicing obtained for web application is useful in analysis and testing of web sites. In this paper we have proposed an algorithm for computing dynamic slices of web based applications. We have used a dependence based intermediate program representation, which is named as Web Application Dependency Graph (WADG) for representing a web based application embedded with a scripting language. The WADG is a directed digraph which represents the various types of dependencies like data, control and link that may exists between different statements of web application. After user entered details, our proposed algorithm computes slice by marking and unmarking the executed edges of WADG appropriately.
Keywords :
Web sites; authoring languages; directed graphs; program debugging; program slicing; program testing; WADG; Web application dependency graph; Web based applications; Web sites analysis; Web sites testing; analysis activities; debugging activities; decomposition technique; dependence based intermediate program representation; directed digraph; dynamic slice computation; dynamic slicing; program slicing; scripting language; Algorithm design and analysis; Debugging; HTML; Heuristic algorithms; Reactive power; Software; Testing; Dynamic Slice; Program Slicing; Slice; WADG; Web Applications;
Conference_Titel :
Advanced Computing & Communication Technologies (ACCT), 2014 Fourth International Conference on
Conference_Location :
Rohtak
DOI :
10.1109/ACCT.2014.27