Using Program Slicing in Software Maintenance (1991)
| Venue: | IEEE Transactions on Software Engineering |
| Citations: | 242 - 13 self |
BibTeX
@ARTICLE{Gallagher91usingprogram,
author = {K. B. Gallagher and J. R. Lyle},
title = {Using Program Slicing in Software Maintenance},
journal = {IEEE Transactions on Software Engineering},
year = {1991},
volume = {17},
pages = {751--761}
}
Years of Citing Articles
OpenURL
Abstract
Program slicing, introduced by Weiser, is known to help programmers in understanding foreign code and in debugging. We apply program slicing to the maintenance problem by extending the notion of a program slice (that originally required both a variable and line number) to a decomposition slice, one that captures all computation on a given variable; i.e., is independent of line numbers. Using the lattice of single variable decomposition slices, ordered by set inclusion, we demonstrate how to form a slice-based decomposition for programs. We are then able to delineate the effects of a proposed change by isolating those effects in a single component of the decomposition. This gives maintainers a straightforward technique for determining those statements and variables that may be modified in a component and those that may not. Using the decomposition, we provide a set of principles to prohibit changes that will interfere with unmodified components. These semantically consistent ch...







