Imperative versus declarative constraint specification languages: a controlled experiment

Author(s):  
Azzam Maraee ◽  
Arnon Sturm
2021 ◽  
Vol 30 (4) ◽  
pp. 1-29
Author(s):  
Philipp Paulweber ◽  
Georg Simhandl ◽  
Uwe Zdun

Abstract State Machine (ASM) theory is a well-known state-based formal method. As in other state-based formal methods, the proposed specification languages for ASMs still lack easy-to-comprehend abstractions to express structural and behavioral aspects of specifications. Our goal is to investigate object-oriented abstractions such as interfaces and traits for ASM-based specification languages. We report on a controlled experiment with 98 participants to study the specification efficiency and effectiveness in which participants needed to comprehend an informal specification as problem (stimulus) in form of a textual description and express a corresponding solution in form of a textual ASM specification using either interface or trait syntax extensions. The study was carried out with a completely randomized design and one alternative (interface or trait) per experimental group. The results indicate that specification effectiveness of the traits experiment group shows a better performance compared to the interfaces experiment group, but specification efficiency shows no statistically significant differences. To the best of our knowledge, this is the first empirical study studying the specification effectiveness and efficiency of object-oriented abstractions in the context of formal methods.


Author(s):  
Giovani Rubert Librelotto ◽  
Renato Preigschadt de Azevedo ◽  
José Carlos Ramalho ◽  
Pedro Rangel Henriques

1992 ◽  
Author(s):  
Paul C. Clements ◽  
Carolyn E. Gasarch ◽  
Ralph D. Jeffords

Sign in / Sign up

Export Citation Format

Share Document