Program dependence graph based slicing for Java

  • Authors:
  • Jaakko Korpi;Jussi Koskinen

  • Affiliations:
  • Univ. of Jyväskylä, Jyväskylä, Finland;Univ. of Jyväskylä, Jyväskylä, Finland

  • Venue:
  • SEA '07 Proceedings of the 11th IASTED International Conference on Software Engineering and Applications
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Making changes to source code is a central task in software maintenance. The potential effects of the changes can be revealed by impact analysis. Forward slicing is a well suited technique for impact analysis. We have earlier developed a tool called GRACE for slicing Visual Basic. Since Java-programs have become popular we have implemented its object-oriented extension for Java (GRACE-J). This paper represents its background and development. We apply program (system) dependence graphs (PDGs/SDGs). The implementation includes a parser, PDG/SDG-generator, static slicer, and user interface. We have selected the static approach since in impact analysis it is important to grasp the total potential effect of the suggested changes. We introduce PDG/SDG-based forward slicing, which is not supported by other Java slicers. The implementation validates in its part the feasibility of the selected approach.