Extracting interaction-based stateful behavior in Rich Internet Applications

Research output: Chapter in Book/Report/Conference proceedingConference contribution

9 Citations (Scopus)

Abstract

Although asynchronous technologies such as Ajax make Rich Internet Applications (RIAs) responsive, they can result in unexpected behavior due to nondeterministic client-side processing and asynchronous communication. One difficulty in understanding such erroneous behavior lies in the unpredictable contexts of the running system. Dynamic behavior analysis techniques do not help to verify the correctness of certain "blind spots" in the execution path. In this work, we present a static approach for extracting all possible state transitions described in source code from the RIAs. Our approach is based on the assumption that user, server and self interactions with the RIAs can change the states of the application. Our method consists of four steps: 1) using given specifications of Ajax relevant to interactions as rules, 2) creating a call graph, annotating interactions on it and extracting interaction controls, 3) abstracting the call graph to extract relationships among the interactions, and 4) refining the relationships with the interaction controls. By extracting the state machines of test scenarios of the correct and wrong behavior, it can help developers to pinpoint the statements in the source code that lead to the erroneous behavior. Our approach has been evaluated against a few experimental cases and we conclude that it can extract comprehensible state machines in a reasonable time.

Original languageEnglish
Title of host publicationProceedings - 2012 16th European Conference on Software Maintenance and Reengineering, CSMR 2012
Pages423-428
Number of pages6
DOIs
Publication statusPublished - 2012 May 8
Event2012 16th European Conference on Software Maintenance and Reengineering, CSMR 2012 - Szeged, Hungary
Duration: 2012 Mar 272012 Mar 30

Publication series

NameProceedings of the European Conference on Software Maintenance and Reengineering, CSMR
ISSN (Print)1534-5351

Conference

Conference2012 16th European Conference on Software Maintenance and Reengineering, CSMR 2012
CountryHungary
CitySzeged
Period12/3/2712/3/30

Keywords

  • Ajax
  • Program comprehension
  • Reverse engineering
  • Rich Internet Applications

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'Extracting interaction-based stateful behavior in Rich Internet Applications'. Together they form a unique fingerprint.

Cite this