An Integrated Framework for Analysing, Simulating and Testing UML Models

被引:0
作者
Carvalho, Gustavo [1 ]
Dihego, Jose [2 ]
Sampaio, Augusto [1 ]
机构
[1] Univ Fed Pernambuco, Ctr Informat, BR-50740560 Recife, PE, Brazil
[2] Inst Fed Educ Ciencia & Tecnol Bahia, Dept Comp, Salvador, BA, Brazil
来源
FORMAL METHODS: FOUNDATIONS AND APPLICATIONS, SBMF 2024 | 2025年 / 15403卷
关键词
UML; Controlled Natural Language; NAT2TEST; CSP; model checking;
D O I
10.1007/978-3-031-78116-2_6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
UML is widely adopted for modelling object-oriented software systems, including diagrams that cover the several facets of the entire development life cycle. Approaches to formal semantics of UML tend to concentrate on individual diagrams and, so far, no complete, standard, semantics is available. Here, we explore a different path and define a natural-language semantics for a component UML model that embodies state machines and composite structure diagrams. We then integrate with the NAT2TEST strategy to provide means for analysis (via model checking and theorem proving), simulation and testing. The integration is based on a systematic process (mapping rules), and its soundness has been validated considering an independent reference formal semantics. The developed tool support automates the translation from UML models to natural-language requirements directly based on the proposed mapping rules. We illustrate our contributions and tool support with respect to two case studies: the classical Dijkstra's dining philosophers problem, and a distributed ring-buffer model.
引用
收藏
页码:86 / 104
页数:19
相关论文
共 30 条
  • [1] Formalizing UML State Machines for Automated Verification - A Survey
    Andre, Etienne
    Liu, Shuang
    Liu, Yang
    Choppy, Christine
    Sun, Jun
    Dong, Jin Song
    [J]. ACM COMPUTING SURVEYS, 2023, 55 (13S)
  • [2] [Anonymous], 2004, The Unified Modeling Language Reference Manual
  • [3] Bertot Y., 2004, TEXT THEORET COMP S
  • [4] Booch G., 1999, The Unified Modelling Language User Guide
  • [5] Direct Model-checking of SysML Models
    Calvino, Alessandro Tempia
    Apvrille, Ludovic
    [J]. PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD), 2021, : 216 - 223
  • [6] Validating, verifying and testing timed data-flow reactive systems in Coq from controlled natural-language requirements
    Carvalho, Gustavo
    Meira, Igor
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2021, 201
  • [7] Modelling timed reactive systems from natural-language requirements
    Carvalho, Gustavo
    Cavalcanti, Ana
    Sampaio, Augusto
    [J]. FORMAL ASPECTS OF COMPUTING, 2016, 28 (05) : 725 - 765
  • [8] NAT2TEST Tool: From Natural Language Requirements to Test Cases Based on CSP
    Carvalho, Gustavo
    Barros, Flavia
    Carvalho, Ana
    Cavalcanti, Ana
    Mota, Alexandre
    Sampaio, Augusto
    [J]. SOFTWARE ENGINEERING AND FORMAL METHODS, 2015, 9276 : 283 - 290
  • [9] Carvalho G, 2013, LECT NOTES COMPUT SC, V8144, P148, DOI 10.1007/978-3-642-41202-8_11
  • [10] Change Vision Inc., Astah UML User's Guide