Union Slices for Program Maintenance

  • Authors:
  • Csaba Faragó

  • Affiliations:
  • -

  • Venue:
  • ICSM '02 Proceedings of the International Conference on Software Maintenance (ICSM'02)
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Owing to its relative simplicity and wide range of applications,static slices are specifically proposed for softwaremaintenance and programunderstanding. Unfortunately, inmany cases static slices are overly conservative and thereforetoo large to supply useful information to the softwaremaintainer. Dynamic slicing methods can produce moreprecise results, but only for one test case. In this paper weintroduce the concept of union slices (the union of dynamicslices for many test cases) and suggest using a combinationof static and union slices. This way the size of programparts that need to be investigated can be reduced by concentratingon the most important parts first. We performeda series of experiments with our experimental implementationon three medium size C programs. Our initial resultssuggest that union slices are in most cases far smaller thanthe static slices, and that the growth rate of union slices (byadding more test cases) significantly declines after severalrepresentative executions of the program.