2012 28th IEEE International Conference on Software Maintenance (ICSM) (2012)
Trento, Italy Italy
Sept. 23, 2012 to Sept. 28, 2012
Neha Rungta , NASA Ames Research Center
Suzette Person , NASA Langley Research Center
Joshua Branchaud , University of Nebraska-Lincoln
Change impact analysis techniques estimate the potential effects of changes made to software. Directed Incremental Symbolic Execution (DiSE) is an intraprocedural technique for characterizing the impact of software changes on program behaviors. DiSE first estimates the impact of the changes on the source code using program slicing techniques, and then uses the impact sets to guide symbolic execution to generate path conditions that characterize impacted program behaviors. DiSE, however, cannot reason about the flow of impact between methods and will fail to generate path conditions for certain impacted program behaviors. In this work, we present iDiSE, an extension to DiSE that performs an interprocedural analysis. iDiSE combines static and dynamic calling context information to efficiently generate impacted program behaviors across calling contexts. Information about impacted program behaviors is useful for testing, verification, and debugging of evolving programs. We present a case-study of our implementation of the iDiSE algorithm to demonstrate its efficiency at computing impacted program behaviors. Traditional notions of coverage are insufficient for characterizing the testing efforts used to validate evolving program behaviors because they do not take into account the impact of changes to the code. In this work we present novel definitions of impacted coverage metrics that are useful for evaluating the testing effort required to test evolving programs. We then describe how the notions of impacted coverage can be used to configure techniques such as DiSE and iDiSE in order to support regression testing related tasks. We also discuss how DiSE and iDiSE can be configured for debugging; finding the root cause of errors introduced by changes made to the code. In our empirical evaluation we demonstrate that the configurations of DiSE and iDiSE can be used to support various software maintenance tasks.
Context, Testing, Software maintenance, Debugging, Conferences, Heuristic algorithms
N. Rungta, S. Person and J. Branchaud, "A change impact analysis to characterize evolving program behaviors," 2012 28th IEEE International Conference on Software Maintenance (ICSM), Trento, Italy Italy, 2012, pp. 109-118.