Using program slicing in software maintenance
Keith Brian Gallagher, James R. Lyle · IEEE Transactions on Software Engineering · 1991
Program slicing is applied to the software 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, it is shown how a slice-based decomposition for programs can be formed. One can then 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 which may be modified in a component and those which may not. Using the decomposition, a set of principles to prohibit changes which will interfere with unmodified components is provided. These semantically consistent changes can then be merged back into the original program in linear time.>
Cited by 653 works. doi:10.1109/32.83912
Authors
References
- Flow diagrams, turing machines and languages with only two formation rules
- The C programming language
- Program Slicing
- The program dependence graph and its use in optimization
- Rcs — a system for version control
- Interprocedural slicing using dependence graphs
- Programmers use slices when debugging
- A practical interprocedural data flow analysis algorithm
- The program dependence graph in a software development environment
- Integrating noninterfering versions of programs