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 条
  • [1] A model-driven approach for usability engineering of interactive systems
    Ben Ammar, Lassaad
    Trabelsi, Abdelwaheb
    Mahfoudhi, Adel
    SOFTWARE QUALITY JOURNAL, 2016, 24 (02) : 301 - 335
  • [2] A model-driven approach for usability engineering of interactive systems
    Lassaad Ben Ammar
    Abdelwaheb Trabelsi
    Adel Mahfoudhi
    Software Quality Journal, 2016, 24 : 301 - 335
  • [3] Towards Model-Driven Engineering of Smart Contracts for Cyber-Physical Systems
    Garamvolgyi, Peter
    Kocsis, Imre
    Gehl, Benjamin
    Klenik, Attila
    2018 48TH ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS WORKSHOPS (DSN-W), 2018, : 134 - 139
  • [4] Model-Driven Engineering of Machine Executable Code
    Eichberg, Michael
    Monperrus, Martin
    Kloppenburg, Sven
    Mezini, Mira
    MODELLING FOUNDATIONS AND APPLICATIONS, PROCEEDINGS, 2010, 6138 : 104 - +
  • [5] The human in model-driven engineering loop: A case study on integrating handwritten code in model-driven engineering repositories
    Rahad, Khandoker
    Badreddin, Omar
    Mohsin Reza, Sayed
    SOFTWARE-PRACTICE & EXPERIENCE, 2021, 51 (06): : 1308 - 1321
  • [6] Performing Incremental Generation of Code in Model-driven Engineering
    Garcia-Diaz, Vicente
    Pelayo G-Bustelo, B. Cristina
    Sanjuan-Martinez, Oscar
    Cueva Lovelle, Juan Manuel
    JOURNAL OF RESEARCH AND PRACTICE IN INFORMATION TECHNOLOGY, 2012, 44 (04): : 365 - 385
  • [7] Assessing the Quality of Low-Code and Model-Driven Engineering Platforms for Engineering IoT Systems
    Ihirwe, Felicien
    Di Ruscio, Davide
    Gianfranceschi, Simone
    Pierantonio, Alfonso
    2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2022, : 583 - 594
  • [8] Putting performance engineering into model-driven engineering: Model-driven performance engineering
    Fritzsche, Mathias
    Johannes, Jendrik
    MODELS IN SOFTWARE ENGINEERING, 2008, 5002 : 164 - +
  • [9] On the Role of Model-Driven Engineering in Adaptive Systems
    Bocanegra, Jose
    Pavlich-Mariscal, Jaime
    Carrillo-Ramos, Angela
    2016 IEEE 11TH COLOMBIAN COMPUTING CONFERENCE (CCC), 2016,
  • [10] Model Engineering for Model-Driven Engineering
    van Lamsweerde, Axel
    EICS 2010: PROCEEDINGS OF THE 2010 ACM SIGCHI SYMPOSIUM ON ENGINEERING INTERACTIVE COMPUTING SYSTEMS, 2010, : 211 - 211