Skip to main navigation Skip to search Skip to main content

Towards program execution summarization: Deriving state diagrams from sequence diagrams

  • Amrita Vishwa Vidyapeetham

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

16 Scopus citations

Abstract

We propose a summarization technique that provides a clear and concise picture of the history of program execution with respect to entities of interest to a programmer. We develop our technique in the context of JIVE, a tool for Java execution visualization that renders execution states and history using UML object and sequence diagrams respectively. While these notations have been developed for specifying design-time decisions, the distinguishing aspect of our work is that we adapt their use for execution-time. Sequence diagrams tend to be long and unwieldy, and often exhibit a repetitive structure, hence we develop a novel procedure to summarize the sequence diagram in the form a state diagram with finite states. This summarization is user-driven, in that the user annotates the key variables of interest in the source code. This information together with an execution trace of the program for a particular input enables us to systematically construct a state diagram that summarizes the program behavior for that input. Using multiple execution traces, we show how an integrated state summarization can be obtained. Finally, by choosing different sets of variables, the user may view different summarizations, or perspectives, of the execution. This paper presents our technique along with experimental results from summarizing several different program executions in order to illustrate the benefit of our approach.

Original languageEnglish
Title of host publication2014 7th International Conference on Contemporary Computing, IC3 2014
EditorsManish Parashar, S.D. Madhu Kumar, Kamesh Madduri, Nanjangud C. Narendra, Murali Krishnan, Sushil K. Prasad, Priya Chandran, C. Chandra Sekhar, Xiaolin Li, Carlos Valera, Sanjay Chaudhary, Umesh Bellur, Kavi Arya
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages299-305
Number of pages7
ISBN (Electronic)9781479951734
DOIs
StatePublished - 2014
Event2014 7th International Conference on Contemporary Computing, IC3 2014 - Noida, India
Duration: Aug 7 2014Aug 9 2014

Publication series

Name2014 7th International Conference on Contemporary Computing, IC3 2014

Conference

Conference2014 7th International Conference on Contemporary Computing, IC3 2014
Country/TerritoryIndia
CityNoida
Period08/7/1408/9/14

Keywords

  • dynamic analysis
  • program behavior
  • sequence diagram
  • state diagram
  • visualization

Fingerprint

Dive into the research topics of 'Towards program execution summarization: Deriving state diagrams from sequence diagrams'. Together they form a unique fingerprint.

Cite this