Grace: automated slicing for visual basic

  • Authors:
  • Jaakko Korpi;Jussi Koskinen

  • Affiliations:
  • Department of Mathematical Information Technology, University of Jyväskylä, Jyväskylä, Finland;Department of Computer Science and Information Systems, University of Jyväskylä, Jyväskylä, Finland

  • Venue:
  • SE'07 Proceedings of the 25th conference on IASTED International Multi-Conference: Software Engineering
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software engineers and maintainers constantly need to understand legacy programs while correcting errors and making safe modifications. For example, applications programmed in Visual Basic often need to be rewritten to meet modern requirements. Program slicing is a technique which supports well these needs. However, there were no earlier slicers for Visual Basic. Therefore, we have studied the feasibility of slicing Visual Basic. This paper represents a program slicer called GRACE for Visual Basic. GRACE is implemented in C++ and GCC. It contains a parser, fully supporting Visual Basic and other components needed to enable slicing. Its slicing capabilities are based on program dependence graphs (PDGs). Use of PDGs is elegant and helps to keep the implementation simple and slicing efficiency sufficient. The current implementation of GRACE supports static backward slicing. The implementation validates the feasibility of the PDG-based slicing approach in this context. GRACE is also compared to other slicing tools.