Extracting High-Level System Specifications from Source Code via Abstract State Machines

被引:1
|
作者
Ferrarotti, Flavio [1 ]
Pichler, Josef [1 ]
Moser, Michael [1 ]
Buchgeher, Georg [1 ]
机构
[1] Software Competence Ctr Hagenberg, Hagenberg, Austria
来源
MODEL AND DATA ENGINEERING, MEDI 2019 | 2019年 / 11815卷
基金
奥地利科学基金会;
关键词
DESIGN; MODELS;
D O I
10.1007/978-3-030-32065-2_19
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We are interested in specifications which provide a consistent high-level view of systems. They should abstract irrelevant details and provide a precise and complete description of the behaviour of the system. This view of software specification can naturally be expressed by means of Gurevich's Abstract State Machines (ASMs). There are many known benefits of such an approach to system specifications for software engineering and testing. In practice however, such specifications are rarely generated and/or maintained during software development. Addressing this problem, we present an exploratory study on (semi) automated extraction of high-level software specifications by means of ASMs. We describe, in the form of examples, an abstraction process which starts by extracting an initial ground-level ASM specification from Java source code (with the same core functionality), and ends in a high-level ASM specification at the desired level of abstraction. We argue that this process can be done in a (semi) automated way, resulting in a valuable tool to improve the current software engineering practices.
引用
收藏
页码:267 / 283
页数:17
相关论文
共 50 条
  • [1] Stepwise abstraction of high-level system specifications from source code
    Ferrarotti, Flavio
    Moser, Michael
    Pichler, Josef
    JOURNAL OF COMPUTER LANGUAGES, 2020, 60 (60)
  • [2] Abstract state machines and high-level system design and analysis
    Börger, E
    THEORETICAL COMPUTER SCIENCE, 2005, 336 (2-3) : 205 - 207
  • [3] Simulation and validation of high-level abstract state machine specifications
    Del Castillo, G
    Glässer, U
    ESM'99 - MODELLING AND SIMULATION: A TOOL FOR THE NEXT MILLENNIUM, VOL II, 1999, : 463 - 465
  • [4] Abstract State Machines as an Intermediate Representation for High-level Synthesis
    Sinha, Rohit
    Patel, Hiren D.
    2011 DESIGN, AUTOMATION & TEST IN EUROPE (DATE), 2011, : 1406 - 1411
  • [5] Automated generation of marshaling code from high-level specifications
    Weigert, T
    Dietz, P
    SDL 2003: SYSTEM DESIGN, PROCEEDINGS, 2003, 2708 : 374 - 386
  • [6] Recovery of software design, state-machines and specifications from source code
    Prywes, N
    Rehmet, P
    SECOND IEEE INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS: HELD JOINTLY WITH 6TH CSESAW, 4TH IEEE RTAW, AND SES'96, 1996, : 279 - 288
  • [7] High-level specifications for automatically generating parallel code
    Acosta, Alejandro
    Almeida, Francisco
    Pelaez, Ignacio
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2013, 25 (07): : 989 - 1012
  • [8] Design and validation of a C plus plus code generator from Abstract State Machines specifications
    Bonfanti, Silvia
    Gargantini, Angelo
    Mashkoor, Atif
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2020, 32 (02)
  • [9] Formal techniques for automatically generating marshalling code from high-level specifications
    Dietz, P
    Weigert, T
    Weil, F
    2ND IEEE WORKSHOP ON INDUSTRIAL STRENGTH FORMAL SPECIFICATION TECHNIQUES - PROCEEDINGS, 1999, : 40 - 47
  • [10] High level system design and analysis using abstract state machines
    Börger, E
    APPLIED FORMAL METHODS - FM-TRENDS 98, 1999, 1641 : 1 - 43