kirancodes.me
To Proof Maintenance & Beyond!

Model-based fault detection in context-aware adaptive applications

Michele Sama, David S. Rosenblum, Zhimin Wang, Sebastian G. Elbaum

Abstract

Applications running on mobile devices are heavily context-aware and adaptive, leading to new analysis and testing challenges as streams of context values drive these applications to undesired configurations that are not easily exposed by existing validation techniques. We address this challenge by employing a finite-state model of adaptive behavior to enable the detection of faults caused by (1) erroneous adaptation logic, and (2) asynchronous updating of context information, which leads to inconsistencies between the external physical context and its internal representation within an application. We identify a number of adaptation fault patterns, each describing a class of faulty behaviors that we detect automatically by analyzing the system's adaptation model. We illustrate our approach on a simple but realistic application in which a cellphone's configuration profile is changed automatically based on the user's location, speed and surrounding environment. © 2008 ACM.

BibTeX
@inproceedings{Sama-al:FSE08,
  author    = {Michele Sama and
               David S. Rosenblum and
               Zhimin Wang and
               Sebastian G. Elbaum},
  title     = {Model-based fault detection in context-aware adaptive applications},
  booktitle = {FSE},
  pages     = {261--271},
  publisher = {{ACM}},
  year      = {2008},
}

Related papers