Scenariographer: A Tool for Reverse Engineering Class Usage Scenarios from Method Invocation Sequences

  • Authors:
  • Maher Salah;Trip Denton;Spiros Mancoridis;Ali Shokoufandeh;Filippos I. Vokolos

  • Affiliations:
  • Drexel University;Drexel University;Drexel University;Drexel University;Drexel University

  • Venue:
  • ICSM '05 Proceedings of the 21st IEEE International Conference on Software Maintenance
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Typical documentation for object-oriented programs includes descriptions of the parameters and return types of each method in a class, but little or no information on valid method invocation sequences. Knowing the sequence with which methods of a class can be invoked is useful information especially for software engineers (e.g., developers, testers) who are actively involved in the maintenance of large software systems. This paper describes a new approach and a tool for generating class usage scenarios (i.e., how a class is used by other classes) from method invocations, which are collected during the execution of the software. Our approach is algorithmic and employs the notion of canonical sets to categorize method sequences into groups of similar sequences, where each group represents a usage scenario for a given class.