Declarative GUIs: Simple, Consistent, and Verified
Declarative GUIs: Simple, Consistent, and Verified
复制标题
声明式 GUI:简单、一致且经过验证
DOI:
--
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Eric Walkingshaw
中科院分区:
文献类型:
--
作者:
Stephan Adelsberger;A. Setzer;Eric Walkingshaw
Graphical user interfaces (GUIs) are ubiquitous in real-world software and a notorious source of bugs that are difficult to catch through software testing. Model checking has been used to prove the absence of certain kinds of bugs, but model checking works on an abstract model of the GUI application, which might be inconsistent with its implementation. We present a library for developing directly verified, state-dependent GUI applications in the dependently typed programming language Agda. In the library, the type of a GUI's controller depends on a specification of the GUI itself, statically enforcing consistency between them. Arbitrary properties can be defined and proved in terms of user interactions and state transitions. Our library connects to a custom-built Haskell back-end for declarative vector-based GUI elements. Compared to an earlier version of our library built on an existing imperative GUI framework, the more declarative back-end supports simpler definitions and proofs. As a practical application of our library to a safety-critical domain, we present a case study developed in cooperation with the Medical University of Vienna. The case study implements a healthcare process for prescribing anticoagulants, which is highly error-prone when followed manually. Our implementation generates GUIs from an abstract description of a data-aware business process, making our approach easy to reuse and adapt to other safety-critical processes. We prove medically relevant safety properties about the executable GUI application, such as that given certain inputs, certain states must or must not be reached.
影响因子:
3.3
作者:
J. Whittle;J. Hutchinson;M. Rouncefield
通讯作者:
J. Whittle;J. Hutchinson;M. Rouncefield
DOI:
10.1109/edcc.2018.00039
发表时间:
2018
期刊:
--
影响因子:
--
作者:
Adelsberger S
通讯作者:
Adelsberger S
DOI:
10.1109/sp.2017.24
发表时间:
2017
期刊:
--
影响因子:
--
作者:
Bauereiss T
通讯作者:
Bauereiss T