A Method for Testing and Validating Executable Statechart Models

Total Page:16

File Type:pdf, Size:1020Kb

A Method for Testing and Validating Executable Statechart Models Software & Systems Modeling https://doi.org/10.1007/s10270-018-0676-3 THEME SECTION PAPER A method for testing and validating executable statechart models Tom Mens1 · Alexandre Decan1 · Nikolaos I. Spanoudakis2 Received: 29 August 2016 / Accepted: 11 April 2018 © Springer-Verlag GmbH Germany, part of Springer Nature 2018 Abstract Statecharts constitute an executable language for modelling event-based reactive systems. The essential complexity of statechart models solicits the need for advanced model testing and validation techniques. In this article, we propose a method aimed at enhancing statechart design with a range of techniques that have proven their usefulness to increase the quality and reliability of source code. The method is accompanied by a process that flexibly accommodates testing and validation techniques such as test-driven development, behaviour-driven development, design by contract, and property statecharts that check for violations of behavioural properties during statechart execution. The method is supported by the Sismic tool, an open-source statechart interpreter library in Python, which supports all the aforementioned techniques. Based on this tool- ing, we carry out a controlled user study to evaluate the feasibility, usefulness and adequacy of the proposed techniques for statechart testing and validation. Keywords Statechart · Executable modeling · Behaviour-driven development · Design by contract · Runtime verification 1 Introduction cial tools such as IBM Rational’s StateMate and Rhapsody, the Mathworks’ Stateflow, itemis’ Yakindu Statechart Tools Statecharts were introduced nearly three decades ago by and IAR Systems’ visualSTATE. There are also multiple Harel [27,28] as a visual executable modelling language. open-source frameworks defining domain-specific languages From a formal point of view, they can be considered as (DSLs) based on statecharts, such as the ATOMPM [47] web- an extension of hierarchical finite-state machines with char- based domain-specific modelling environment with support acteristics of both Mealy and Moore automata. Statecharts for model transformation, and the AMOLA [46] language (sometimes referred to as behavioural state machines)are targeting the multi-agent systems community. Most of these part of the UML standard [41] and constitute a popular mod- tools support visualisation, modification and simulation of elling notation for representing the executable behaviour statecharts, as well as code generation from statechart mod- of complex reactive event-based systems. They are fre- els. The more advanced tools also provide support for model quently used in industry for the development of real-time debugging and model verification. systems and embedded systems [13,44], relying on commer- At the level of source code development, a variety of test- ing techniques have found widespread use. These include Communicated by Dr. M. Papadakis, S. Ali, and G. Perrouin. test-driven development (TDD)[3], behaviour-driven devel- opment (BDD)[39] and design by contract (DbC)[38]. B Tom Mens Most of these techniques have not been taken up at design [email protected] level, however, for increasing the quality and reliability of Alexandre Decan behavioural software models. In particular, it is poorly under- [email protected] stood how such techniques can be used for testing and Nikolaos I. Spanoudakis validating executable statechart models. Indeed, designing [email protected] statecharts and their interaction with the environment can be 1 Software Engineering Lab, Faculty of Sciences, University of quite complex and error-prone, partly because of the stat- Mons, 7000 Mons, Belgium echart formalism itself, and partly because of the complex 2 Applied Mathematics and Computers Laboratory, School of behaviour that these statecharts are modelling [11]. Production Engineering and Management, Technical To address this problem, we propose a method aimed University of Crete, 73100 Chania, Greece to enhance statechart design with such techniques. The 123 T. Mens et al. method comes with dedicated tooling, in the form of Sismic User stories and BDD would provide a very good basis (a recursive acronym for “Sismic Interactive Statechart for coming up with relevant functional tests for executable Model Interpreter and Checker”), a modular Python library statecharts, assuming that developers are available to write composed of a statechart interpreter and associated libraries the necessary mapping code to execute the scenarios as func- for testing and validation of executable statecharts based on tional tests over the statechart. the techniques of TDD, BDD, DbC, and property statecharts that allow to monitor for violations of behavioural proper- ties during statechart execution. The library is provided as an 2.2 DbC open-source solution, in order to facilitate its extension by other researchers. It comes with support for importing and Design by contract (DbC) was introduced more than two exporting statechart models to and from external statechart decades ago by Bertrand Meyer and popularised through visualisation and editing tools. the object-oriented programming language Eiffel [19,38]. The remainder of this article is structured as follows. Sec- It is often used to support the interaction and composition tion 2 explains and motivates the techniques of TDD, BDD, of software components (e.g. methods, functions, classes or DbC and run-time monitoring. Section 3 presents the pro- packages) in complex systems based on the interface speci- posed method and process for statechart design and testing. fications of these components. DbC prescribes that software Section 4 explains the tooling that we have developed to sup- components should have formal, precise and verifiable inter- port all the techniques supported by the method. Sections 5 face specifications, which extend the ordinary definition of and 6 illustrate how to use the method and its associated tools abstract data types with preconditions, postconditions and by means of an example. Section 7 evaluates the method and invariants. The term contract stresses the obligation of the tools through a controlled user study. Section 8 compares our programmer to respect the conditions of the code she is work with other approaches, and Sect. 9 concludes. using. The use of DbC has been shown to increase the reliability 2 Background of executable code. It has been used with success to enable automated debugging with AutoFix, a tool that uses con- 2.1 TDD and BDD tracts to fix faults in general-purpose software [43]. Other programming languages also provide support for DbC. For Test-driven development (TDD)[3] has become accepted for Java programs for example, DbC is supported by JML, a source code development thanks to the many available frame- formal behavioural interface specification language [34]. works for automated unit testing. TDD is often accompanied OCL, the constraint language that is part of the UML by so-called user stories, representing informal, natural lan- standard, offers the possibility to specify preconditions, guage descriptions of one or more features of the software postconditions and invariants on UML models [40]. It system, written from an end user perspective. has been used to specify contracts on class diagrams The technique of behaviour-driven development (BDD) [6] supported by the USE tool [24] and has recently allows to bridge the gap between user stories and executable been extended to support behavioural models such as pro- functional tests. BDD extends TDD with acceptance test tocol state machines [26] and sequence diagrams [23]. or customer test-driven development practices as found in We are not aware, however, of any DbC tool that pro- extreme programming [39,50]. BDD allows users to spec- vides integrated support for specifying and checking struc- ify representative scenarios and their expected outcomes tural properties during the run-time execution of state- using Gherkin,1 a domain-specific natural language that has charts. been created specifically to support BDD. It enables users Just like contracts can be defined on source code com- to describe the intended software behaviour without need- ponents at different levels of granularity, it is useful and ing to detail how that behaviour is or will be implemented. desirable to express contracts at different levels on an exe- Scenarios and their outcomes are described as sequences cutable statechart. Contracts could be defined on individual of steps expressed as domain-specific natural language sen- states (either basic or composite states) to express how these tences using Gherkin-specific keywords such as Given, states are supposed to interact with other states. Contracts When, Then, And and But. Developers can then define could be expressed on concurrent regions of a state to spec- mapping code for these steps, in order to enable the automatic ify how these regions are supposed to synchronise with execution of each of these scenarios as executable functional each other. Finally, contracts could be specified on tran- tests. As such, the technical gap between developers and users sitions to verify that any action executed by a transition is reduced. satisfies some invariants. Once defined, contracts can be monitored continuously while the statechart is being exe- 1 See http://docs.behat.org/en/v2.5/guides/1.gherkin.html. cuted. 123 A method for testing and validating executable statechart models 2.3 Run-time verification Any mechanism for monitoring observable behaviours or properties
Recommended publications
  • Textual, Executable, Translatable UML⋆
    Textual, executable, translatable UML? Gergely D´evai, G´abor Ferenc Kov´acs, and Ad´amAncsin´ E¨otv¨osLor´andUniversity, Faculty of Informatics, Budapest, Hungary, fdeva,koguaai,[email protected] Abstract. This paper advocates the application of language embedding for executable UML modeling. In particular, txtUML is presented, a Java API and library to build UML models using Java syntax, then run and debug them by reusing the Java runtime environment and existing de- buggers. Models can be visualized using the Papyrus editor of the Eclipse Modeling Framework and compiled to implementation languages. The paper motivates this solution, gives an overview of the language API, visualization and model compilation. Finally, implementation de- tails involving Java threads, reflection and AspectJ are presented. Keywords: executable modeling, language embedding, UML 1 Introduction Executable modeling aims at models that are completely independent of the ex- ecution platform and implementation language, and can be executed on model- level. This way models can be tested and debugged in early stages of the devel- opment process, long before every piece is in place for building and executing the software on the real target platform. Executable and platform-independent UML modeling changes the landscape of software development tools even more than mainstream modeling: graphical model editors instead of text editors, model compare and merge instead of line based compare and merge, debuggers with graphical animations instead of de- buggers for textual programs, etc. Figure 1 depicts the many different use cases such a toolset is responsible for. Models are usually persisted in a format that is hard or impossible to edit directly, therefore any kind of access to the model is dependent on different features of the modeling toolset.
    [Show full text]
  • Segédlet a Rendszermodellezés (VIMIAA00) Házi Feladathoz
    Segédlet a Rendszermodellezés (VIMIAA00) házi feladathoz Kritikus Rendszerek Kutatócsoport 2021 Tartalomjegyzék 1. Előszó 1 4.1. Yakindu projekt importálása ... 6 4.2. A modell megnyitása ........ 6 2. Alapismeretek 2 4.3. A modell kimentése ......... 6 2.1. Eclipse bevezető .......... 2 2.2. Az Eclipse munkaterület ...... 2 5. Modellezés, szimuláció 6 2.3. A Eclipse felhasználói felület ... 2 5.1. Állapot alapú modellezés ...... 6 2.4. Yakindu bevezető .......... 2 5.2. Modellezés Yakinduban ...... 7 5.3. A modell működésének szimulálása 8 3. A modellező eszköz telepítése 3 5.4. A modell működésének tesztelése . 8 3.1. Java környezet ........... 3 5.5. A modell kipróbálása ........ 9 3.2. A Yakindu telepítése létező Eclipse példányra .............. 3 5.6. Kódgenerálás ............ 9 3.3. A Yakindu telepítése a hivatalos ol- 6. Feladatkiadás és feladatbeadás 10 dalról ................ 4 6.1. HF portál használata ........ 10 3.4. Telepített verzió ellenőrzése .... 5 6.2. Az automatikus kiértékelőről ... 11 3.5. Yakindu virtuális gépen ...... 5 6.3. Tiltott elemek ............ 11 4. Projekt létrehozása, importálása 6 6.4. Ismert problémák .......... 12 Bevezetés 1. Előszó Jelen segédanyag a BME VIK elsőéves informatikus hallgatói számára készült a Méréstechnika és Információs Rendszerek Tanszéken Lucz Soma és Farkas Rebeka munkájának felhasználásával, és a Rendszermodellezés (VIMIAA00) című tárgy házi feladatainak elkészítésében segít. A Yakindu eszköz1 egy állapot alapú modellezést, szimulációt és kódgenerálást támogató eszköz. Figyelem! A szöveg a Yakindu 3.5.2-es verziójával van összhangban. Nyomatékosan kérjük, hogy idén (2021-ben) a házi feladat elkészítéséhez is ezt a verziót használják, mert más (akár újabb, akár régebbi) verziókkal kompatibilitási probléma léphet fel! 1http://statecharts.org/ 1 Rendszermodellezés Segédlet a Rendszermodellezés (VIMIAA00) házi feladathoz 2.
    [Show full text]
  • Segédlet a Rendszermodellezés (VIMIAA00) Házi Feladathoz
    Segédlet a Rendszermodellezés (VIMIAA00) házi feladathoz Kritikus Rendszerek Kutatócsoport 2021 Tartalomjegyzék 1. Előszó 2 4.1. Yakindu projekt importá- lása ............ 8 2. Alapismeretek 2 4.2. A modell megnyitása ... 8 2.1. Eclipse bevezető ..... 2 4.3. A modell kimentése .... 9 2.2. Az Eclipse munkaterület . 2 2.3. A Eclipse felhasználói fe- 5. Modellezés, szimuláció 9 lület ............ 3 5.1. Állapot alapú modellezés . 9 2.4. Yakindu bevezető ..... 3 5.2. Modellezés Yakinduban . 9 5.3. A modell működésének 3. A modellező eszköz telepíté- szimulálása ........ 11 se 4 5.4. A modell működésének 3.1. Java környezet ...... 4 tesztelése ......... 11 3.2. A Yakindu telepítése léte- 5.5. A modell kipróbálása ... 13 ző Eclipse példányra ... 4 5.6. Kódgenerálás ....... 13 3.3. A Yakindu telepítése a hi- vatalos oldalról ...... 6 6. Feladatkiadás és feladatbe- 3.4. Telepített verzió ellenőr- adás 14 zése ............ 7 6.1. HF portál használata ... 14 3.5. Yakindu virtuális gépen . 8 6.2. Az automatikus kiértéke- lőről ............ 15 4. Projekt létrehozása, impor- tálása 8 6.3. Tiltott elemek ....... 16 1 RendszermodellezésSegédlet a Rendszermodellezés (VIMIAA00) házi feladathoz 6.4. Ismert problémák ..... 17 Bevezetés 1. Előszó Jelen segédanyag a BME VIK elsőéves informatikus hallgatói számára készült a Méréstechnika és Információs Rendszerek Tanszéken Lucz Soma és Farkas Rebe- ka munkájának felhasználásával, és a Rendszermodellezés (VIMIAA00) című tárgy házi feladatainak elkészítésében segít. A Yakindu eszköz1 egy állapot alapú model- lezést, szimulációt és kódgenerálást támogató eszköz. Figyelem! A szöveg a Yakindu 3.5.2-es verziójával van összhangban. Nyo- matékosan kérjük, hogy idén (2021-ben) a házi feladat elkészítéséhez is ezt a verziót használják, mert más (akár újabb, akár régebbi) verziókkal kompati- bilitási probléma léphet fel! 2.
    [Show full text]
  • Megam@Rt2 EU Project: Open Source Tools for Mega-Modelling at Runtime of Cpss
    MegaM@Rt2 EU Project: Open Source Tools for Mega-Modelling at Runtime of CPSs 1 2 3 4 Jesus Gorroñogoitia Cruz ,​ Andrey Sadovykh ,​ Dragos Truscan ,​ Hugo Bruneliere ,​ ​ 5 ​ 1 ​ ​ Pierluigi Pierini ,​ Lara Lopez Muñiz ​ ​ 1 ATOS,​ Spain {jesus.gorronogoitia,lara.lopez}@atos.net 2 ​ Innopolis University, Russia [email protected] 3 ​ Åbo Akademi University, Finland [email protected] 4 ​ IMT Atlantique, LS2N (CNRS) & ARMINES, Nantes, France [email protected] 5 ​ Intecs Solutions S.p.A., Italy [email protected] Abstract. In this paper, we overview our experiences of developing large set of open ​ source tools in ECSEL JU European project called MegaM@Rt2 whose main objective is to propose a scalable model-based framework incorporating methods and tools for the continuous development and runtime support of complex software-intensive Cyber-Physical Systems (CPSs). We briefly present the MegaM@Rt2 concepts, discuss our approach for open source, enumerate tools and give an example of a tools selection for a specific industrial context. Our goal is to introduce the reader with open source tools for the model-based engineering of CPSs suitable for diverse industrial applications. Keywords: Model-driven engineering, Model-based system engineering, ​ Cyber-physical systems, Open Source, Tools 1 Introduction MegaM@Rt2 is a three-years project, which started in April 2017[1], [2] and which is ​ ​ ​ funded by European Components and Systems for European Leadership Joint Undertaking (ECSEL JU) under the H2020 European program. The main goal of MegaM@Rt2 is to create an integrated framework incorporating scalable methods and tools for continuous system engineering and runtime validation and verification (V&V).
    [Show full text]
  • Minisy@Dmis 2017
    PROCEEDINGS OF THE 24TH PHDMINI-SYMPOSIUM (MINISY@DMIS 2017) JANUARY 30–31, 2017 BUDAPEST UNIVERSITY OF TECHNOLOGY AND ECONOMICS BUILDING I BUDAPEST UNIVERSITY OF TECHNOLOGY AND ECONOMICS DEPARTMENT OF MEASUREMENT AND INFORMATION SYSTEMS c 2017 Department of Measurement and Information Systems, Budapest University of Technology and Economics. For personal use only – unauthorized copying is prohibited. Head of the Department: Dr. Tamas´ Daboczi´ Conference chairman: Bela´ Pataki Organizers: Csaba Debreceni Andras´ Szabolcs Nagy Andras´ Pataki Tamas´ Toth´ Homepage of the Conference: http://minisy.mit.bme.hu/ Sponsored by: Schnell Laszl´ o´ Foundation ISBN 978-963-313-243-2 FOREWORD This proceedings is a collection of the lectures of the 24th Minisymposium held at the Department of Measurement and Information Systems of the Budapest University of Technology and Economics. In the previous years the main purpose of these symposiums was to give an opportunity to the PhD students of our department to present a summary of their work done in the preceding year. It is an interesting additional benefit, that the students get some experience: how to organize such events. Beyond this actual goal, it turned out that the proceedings of our symposiums give an interesting overview of the research and PhD education carried out in our department. Last year the scope of the Minisymposium had been widened; foreign partners and some of the best MSc students were also involved. This was a real benefit, therefore, this year we have kept this widened scope. The lectures reflect partly the scientific fields and work of the students, but we think that an insight into the research and development activity of our and partner departments is also given by these contribu- tions.
    [Show full text]
  • HOW to INSTALL YAKINDU and TRICKS ABOUT IT 1-Installation First You Need to Download the YAKINDU Statechart Tools
    HOW TO INSTALL YAKINDU AND TRICKS ABOUT IT 1-Installation First you need to download the YAKINDU Statechart Tools . Unzip the archive to an arbitrary directory and start SCT. Choose "Install New Software..." from the "Help" menu. Select the "Add..." button in the upper right corner to add a new update site. Copy the following URL to the "Location" text field: https://wendehals.github.io/arduino_sct_tools/releases/ . Use any value for the "Name" field and select "OK". Select YAKINDU Statechart Tools for Arduino and press the "Next>" button to switch to the next page. 2-Arduino Toolchain Setup Before starting development for your Arduino you need to install and setup the Arduino toolchain and libraries in your freshly installed Eclipse environment. Open the Arduino Downloads Manager from the Help menu. In the Platforms tab add a new toolchain by clicking the "Add" button and choosing the target platform. In our case it's the Arduino AVR Boards package. The Arduino toolchain and libraries are now installed. To upload the program to your Arduino you need to connect it to Eclipse. First, connect your Arduino via USB to your computer. If you have connected and used your Arduino with your computer before there should already be a driver installed. If not, make sure you have installed the Arduino IDE from arduino.cc , you need it for the USB driver. There is a wizard that helps you to create a connection to your Arduino. You can open the wizard either by choosing "New Launch Target" from the toolbar or by clicking the "New Connection" button in the "Connections" view of the C/C++ perspective.
    [Show full text]
  • Surveys, Collections, Handbooks, Etc
    Graph Layout Support for Model-Driven Engineering Dipl.-Inf. Miro Spönemann Dissertation zur Erlangung des akademischen Grades Doktor der Ingenieurwissenschaften (Dr.-Ing.) der Technischen Fakultät der Christian-Albrechts-Universität zu Kiel eingereicht im Jahr 2014 Kiel Computer Science Series (KCSS) 2015/2 v1.0 dated 2015-3-13 ISSN 2193-6781 (print version) ISSN 2194-6639 (electronic version) Electronic version, updates, errata available via https://www.informatik.uni-kiel.de/kcss Published by the Department of Computer Science, Kiel University Real-Time and Embedded Systems Group Please cite as: Ź Miro Spönemann. Graph layout support for model-driven engineering. Number 2015/2 in Kiel Computer Science Series. Dissertation, Faculty of Engineering, Christian-Albrechts- Universität zu Kiel, 2015. @book{Spoenemann15, author = {Miro Sp{\"o}nemann}, title = {Graph layout support for model-driven engineering}, publisher = {Department of Computer Science}, year = {2015}, isbn = {9783734772689}, series = {Kiel Computer Science Series}, number = {2015/2}, note = {Dissertation, Faculty of Engineering, Christian-Albrechts-Universit\"at zu Kiel} } © 2015 by Miro Spönemann Herstellung und Verlag: BoD – Books on Demand, Norderstedt ISBN 978-3-7347-7268-9 ii About this Series The Kiel Computer Science Series (KCSS) covers dissertations, habilitation theses, lecture notes, textbooks, surveys, collections, handbooks, etc. written at the Department of Computer Science at Kiel University. It was initiated in 2011 to support authors in the dissemination of their work in electronic and printed form, without restricting their rights to their work. The series provides a unified appearance and aims at high-quality typography. The KCSS is an open access series; all series titles are electronically available free of charge at the department’s website.
    [Show full text]
  • Model Driven Software Development and Service Integration Lecture
    Budapest University of Technology and Economics Department of Measurement and Information Systems Fault Tolerant Systems Research Group Model Driven Software Development and Service Integration Lecture Notes and Laboratory Instructions Oszkár Semeráth Gábor Szárnyas May 10, 2013 Contents 1 Introduction 6 2 An overview of the Eclipse development environment7 2.1 Introduction.....................................................7 2.2 Project management................................................8 2.2.1 Workspace..................................................8 2.2.2 Project....................................................8 2.2.3 Package Explorer and Project Explorer.................................8 2.2.4 Build in Eclipse...............................................9 2.2.5 Copying and linking............................................9 2.2.6 Pictograms..................................................9 2.2.7 Subversion..................................................9 2.3 User interface.................................................... 10 2.3.1 Workbench.................................................. 10 2.3.2 Editors.................................................... 10 2.3.3 Views..................................................... 10 The Problems view and the Error Log view............................... 10 2.3.4 Perspective.................................................. 11 2.3.5 SWT...................................................... 11 2.3.6 Search.................................................... 11 2.4 Configuration...................................................
    [Show full text]
  • Code Generation for Sequential Constructiveness
    Christian-Albrechts-Universität zu Kiel Diploma Thesis Code Generation for Sequential Constructiveness Steven Patrick Smyth July 24, 2013 Department of Computer Science Real-Time and Embedded Systems Group Prof. Dr. Reinhard von Hanxleden Advised by: Dipl.-Inf. Christian Motika Eidesstattliche Erklärung Hiermit erkläre ich an Eides statt, dass ich die vorliegende Arbeit selbstständig verfasst und keine anderen als die angegebenen Hilfsmittel verwendet habe. Kiel, Abstract Many programming languages in the synchronous world employ a classical Model of Computation which allows them to implement determinism since they rule out race conditions. However, to do so, they impose heavy restrictions on which programs are considered valid. The newly refined Sequentially Constructive Model of Computation, developed by von Hanxleden et al. in 2012, aims to lift some of these restrictions by allowing sequential and concurrent dependent variable accesses to proceed as long as the program stays statically schedulable. The code generation approach presented in this thesis introduces a chain of key steps for deriving code automatically out of sequentially constructive statecharts, or SCCharts. It explains the intermediate language SCL, its graphical representation, the SCG, and clarifies each particular step of the transformation chain. Especially the determination of schedulability is elucidated. Additionally, pointers to optimizations are given and since the approach is embedded in the Kiel Integrated Environment for Layout Eclipse Rich Client (KIELER),
    [Show full text]
  • Introduction to Computational Techniques
    Chapter 2 Introduction to Computational Techniques Computational techniques are fast, easier, reliable and efficient way or method for solving mathematical, scientific, engineering, geometrical, geographical and statis- tical problems via the aid of computers. Hence, the processes of resolving problems in computational technique are most time step-wise. The step-wise procedure may entail the use of iterative, looping, stereotyped or modified processes which are incomparably less stressful than solving problems-manually. Sometimes, compu- tational techniques may also focus on resolving computation challenges or issues through the use of algorithm, codes or command-line. Computational technique may contain several parameters or variables that characterize the system or model being studied. The inter-dependency of the variables is tested with the system in form of simulation or animation to observe how the changes in one or more parameters affect the outcomes. The results of the simulations, animation or arrays of numbers are used to make predictions about what will happen in the real system that is being studied in response to changing conditions. Due to the adoption of computers into everyday task, computational techniques are redefined in various disciplines to accommodate specific challenges and how they can be resolved. Fortunately, computational technique encourages multi-tasking and interdisciplinary research. Since computational technique is used to study a wide range of complex systems, its importance in environmental disciplines is to aid the interpretation of field measurements with the main focus of protecting life, prop- erty, and crops. Also, power-generating companies that rely on solar, wind or hydro sources make use of computational techniques to optimize energy production when extreme climate shifts are expected.
    [Show full text]
  • Statecharts.Pdf
    AperTO - Archivio Istituzionale Open Access dell'Università di Torino On checking delta-oriented product lines of statecharts This is the author's manuscript Original Citation: Availability: This version is available http://hdl.handle.net/2318/1671322 since 2018-12-16T17:13:33Z Published version: DOI:10.1016/j.scico.2018.05.007 Terms of use: Open Access Anyone can freely access the full text of works made available as "Open Access". Works made available under a Creative Commons license can be used according to the terms and conditions of said license. Use of all other works requires consent of the right holder (author or publisher) if not exempted from copyright protection by the applicable law. (Article begins on next page) 06 October 2021 On checking delta-oriented product lines of statecharts I Michael Lienhardta, Ferruccio Damiania,∗, Lorenzo Testaa, Gianluca Turina aUniversity of Torino, Italy ([email protected], [email protected], {lorenzo.testa, gianluca.turin}@edu.unito.it) Abstract A Software Product Line (SPL) is a set of programs, called variants, which are generated from a common artifact base. Delta-Oriented Programming (DOP) is a flexible approach to implement SPLs. In this article, we provide a foundation for rigorous development of delta-oriented product lines of statecharts. We introduce a core language for statecharts, we define DOP on top of it, we present an analysis ensuring that a product line is well-formed (i.e., all variants can be generated and are well-formed statecharts), and we illustrate how an implementation of the analysis has been applied to an industrial case study.
    [Show full text]
  • Extending Kouretes Statechart Editor for Executing Statechart-Based Robotic Behavior Models
    Technical University of Crete School of Electronic and Computer Engineering Extending Kouretes Statechart Editor for Executing Statechart-Based Robotic Behavior Models Georgios L. Papadimitriou Thesis Committee Associate Professor Michail G. Lagoudakis Assistant Professor Vasileios Samoladas Dr. Nikolaos Spanoudakis Chania, July 2014 Πολυτεχνείο Κρήτης Σχολή Ηλεκτρονικών Μηχανικών και Μηχανικών Υπολογιστών Αναβάθμιση του Kouretes Statechart Editor για Εκτέλεση Μοντέλων Ρομποτικής Συμπεριφοράς Βασισμένων σε Διαγράμματα Καταστάσεων Γεώργιος Λ. Παπαδημητρίου Εξεταστική Επιτροπή Αναπληρωτής Καθηγητής Μιχαήλ Γ. Λαγουδάκης Επίκουρος Καθηγητής Βασίλειος Σαμολαδάς Δρ. Νικόλαος Σπανουδάκης Χανιά, Ιούλιος 2014 Acknowledgements First of all, I would like to thank my family for their love and support during my long years of studying towards achieving my engineering Diploma. I would also like to give extra thanks to my brother Panos who's been a great asset to me and constantly helps me in every stage of my life, since I can remember myself. Next, I would like to thank my grandparents for their great support, and my aunt Catherine Geronikolou for helping me in any possible way during my thesis implementation. Moreover, I would like to thank my thesis supervisor, Dr. Michail G. Lagoudakis, for trusting me in investigating this diploma thesis topic, giving me the opportunity to work in my favorite scientific field. Another person I would like to thank, is my co-supervisor, Dr. Nikolaos Spanoudakis, for his exceptional help and willingness to aid me throughout the completion of my thesis. I would like to give exceptional thanks to my father, whose advices and self-sacrifices during the years made me realize in an early stage of my life, that you should be patient and work very hard in order to fulfill your ambitions.
    [Show full text]