• DocumentCode
    1607670
  • Title

    AC-Contract: Run-Time Verification of Context-Aware Applications

  • Author

    Mongiello, Marina ; Pelliccione, Patrizio ; Sciancalepore, Massimo

  • Author_Institution
    Dipt. di Ing. Elettr. e dell´Inf., Politec. di Bari, Bari, Italy
  • fYear
    2015
  • Firstpage
    24
  • Lastpage
    34
  • Abstract
    Modern software systems are increasingly complex and are controlling critical activities in many different domains. The traditional assumption that these systems will work in a controlled context is slightly vanishing. Therefore, it emerges the need of methodologies able to determine under what conditions desired goals will be achieved and behavioural strategies will be preserved despite (often unavoidable) adaptations. In this paper we use the cognitive psychology concept of schema to identify the set of properties that an adaptable system has to maintain when adapting to changed context. The methodology we propose, called AC-contract (Adaptable Code-contract), starts from high-level requirements and identifies properties that should hold locally on single parts of the system. Local properties are represented as contracts directly on the programming language. Specifically, AC-contract is able to embed logical propositions in the source code as annotations, moreover, it enables verification of adaptable code by exploiting a preprocessor that executes the annotations. The methodology is applied to a mobile application supporting travellers during their journey.
  • Keywords
    program verification; psychology; source code (software); ubiquitous computing; AC-contract; adaptable code verification; adaptable code-contract; adaptable system; annotations; cognitive psychology concept; complex software systems; context-aware applications; critical activity control; high-level requirements; local properties; logical propositions; mobile application; preprocessors; programming language; run-time verification; source code; Adaptation models; Context; Contracts; Grammar; Psychology; Software systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering for Adaptive and Self-Managing Systems (SEAMS), 2015 IEEE/ACM 10th International Symposium on
  • Conference_Location
    Florence
  • Type

    conf

  • DOI
    10.1109/SEAMS.2015.11
  • Filename
    7194654