Engineering Interactive Systems with Model-Driven Code Contracts

被引:1
|
作者
Bowen, Judy [1 ]
Reeves, Steve [1 ]
机构
[1] Univ Waikato, Dept Comp Sci, Hamilton, New Zealand
关键词
D O I
10.1109/ASWEC.2018.00010
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The use of sound and robust software engineering techniques are essential during the design and development of safety-critical interactive systems. Failure of such systems (such as those found in medical settings or transportation) can lead to serious harm or even fatalities. Model-based development of interactive systems provides a number of benefits which can support correctness of the interface, the interaction and the functional logic of the system. Many different approaches have been proposed which target the models at different aspects of the development process (for example task analysis, interface layouts, functional behaviours etc.) and which can be used in different ways (verification of correctness, usability, testing). Typically these rely on multiple models at differing levels of abstraction. There are challenges in ensuring consistency between the models, and more importantly in ensuring that the final implementation correctly satisfies all of the models. In this paper we propose a method of deriving pre- and post-conditions for both interactive and functional elements of the system from formal models. These are used to generate code contracts within a code framework to support programmers who are implementing the system described in such models. We describe both the process for this and present an initial examination of the applicability of the approach based on a proof-of-concept user study. This small study was intended to examine whether we could correctly derive the code contracts in an automated fashion and whether or not they were usable (and beneficial) for programmers working on a pre-defined task. This initial investigation suggested that such an approach can aid programmers in correctly implementing a specification and that the general approach outlined in the paper is worth developing further.
引用
收藏
页码:11 / 20
页数:10
相关论文
共 50 条
  • [31] Model Patches in Model-Driven Engineering
    Cicchetti, Antonio
    Di Ruscio, Davide
    Pierantonio, Alfonso
    MODELS IN SOFTWARE ENGINEERING, 2010, 6002 : 190 - +
  • [32] Model-driven reverse engineering
    Rugaber, S
    Stirewalt, K
    IEEE SOFTWARE, 2004, 21 (04) : 45 - +
  • [33] Continuous Model-Driven Engineering
    Margaria, Tiziana
    Steffen, Bernhard
    COMPUTER, 2009, 42 (10) : 106 - 109
  • [34] Model-driven ontology engineering
    Pan, Yue
    Xie, Guotong
    Ma, Li
    Yang, Yang
    Qiu, ZhaoMing
    Lee, Juhnyoung
    JOURNAL ON DATA SEMANTICS VII, 2006, 4244 : 57 - 78
  • [35] Model-Driven Useware Engineering
    Meixner, Gerrit
    Seissler, Marc
    Breiner, Kai
    MODEL-DRIVEN DEVELOPMENT OF ADVANCED USER INTERFACES, 2011, 340 : 1 - +
  • [36] Model-Driven Test Code Generation
    Perez Lamancha, Beatriz
    Reales, Pedro
    Polo, Macario
    Caivano, Danilo
    EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, ENASE 2011, 2013, 275 : 155 - 168
  • [37] Model-driven engineering of middleware-mediated distributed systems
    Silaghi, R
    Strohmeier, A
    UML MODELING LANGUAGES AND APPLICATIONS, 2005, 3297 : 259 - 263
  • [38] A model-driven engineering approach for the service integration of IoT systems
    Alulema, Darwin
    Criado, Javier
    Iribarne, Luis
    Jesus Fernandez-Garcia, Antonio
    Ayala, Rosa
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2020, 23 (03): : 1937 - 1954
  • [39] Code-First Model-Driven Engineering: On the Agile Adoption of MDE Tooling
    Boronat, Artur
    34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 874 - 886
  • [40] A model-driven engineering approach for the service integration of IoT systems
    Darwin Alulema
    Javier Criado
    Luis Iribarne
    Antonio Jesús Fernández-García
    Rosa Ayala
    Cluster Computing, 2020, 23 : 1937 - 1954