• DocumentCode
    234748
  • Title

    Towards program execution summarization: Deriving state diagrams from sequence diagrams

  • Author

    Jayaraman, Sundaresan ; Kishor Kamath, D. ; Jayaraman, Bharat

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Amrita Vishwa Vidyapeetham, Coimbatore, India
  • fYear
    2014
  • fDate
    7-9 Aug. 2014
  • Firstpage
    299
  • Lastpage
    305
  • 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.
  • Keywords
    Java; Unified Modeling Language; object-oriented programming; JIVE tool; Java execution visualization; UML object diagram; UML sequence diagram; Unified Modeling Language; program execution summarization; sequence diagrams; state diagrams; summarization technique; Java; Merging; Object oriented modeling; Runtime; Silicon; Unified modeling language; Visualization; dynamic analysis; program behavior; sequence diagram; state diagram; visualization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Contemporary Computing (IC3), 2014 Seventh International Conference on
  • Conference_Location
    Noida
  • Print_ISBN
    978-1-4799-5172-7
  • Type

    conf

  • DOI
    10.1109/IC3.2014.6897190
  • Filename
    6897190