International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 80 - Number 8 |
Year of Publication: 2013 |
Authors: Swatee Rekha Mohanty, Prafulla Kumar Behera, Durga Prasad Mohapatra |
10.5120/13878-1761 |
Swatee Rekha Mohanty, Prafulla Kumar Behera, Durga Prasad Mohapatra . Computing Dynamic Slices of Object-Oriented Programs using Dependency Information. International Journal of Computer Applications. 80, 8 ( October 2013), 1-7. DOI=10.5120/13878-1761
Now a days, object-oriented programs are becoming very popular amongst the developers and hence almost all software are designed using the object-oriented paradigm. Advanced features of object-oriented programming has made it complicated to understand, test, debug and maintain. To better manage these software, slicing techniques have been proved to be quite efficient. This paper proposed an algorithm for dynamic slicing of object-oriented software. It uses SDG(System Dependence Graph) and DG(Dynamic Graph) as the intermediate program representation while computing the dynamic slices. In this paper dynamic slicing algorithm is based on traversing through the outgoing control dependence edges and incoming data dependence edges of Dynamic Graph. The major advantage of the proposed algorithm is that the time required to compute the dynamic slice of the object-oriented programs is directly proportional to the number of dependencies (control and/or data) arising during the run time. Also the proposed algorithm depends on the numbers of nodes present in the intermediate program representation.