Debugging Statecharts Via Model-Code Traceability

被引:0
|
作者
Guo, Liang [1 ]
Roychoudhury, Abhik [1 ]
机构
[1] Natl Univ Singapore, Sch Comp, Singapore, Singapore
关键词
Statecharts; Traceability; Debugging; Slicing;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Model-driven software development involves constructing behavioralmodels from informal English requirements. These models are then used to guide software construction. The compilation of behavioral models into software is the topic of many existing research works. There also exist a number of UML-based modeling tools which support such model compilation. In this paper, we show how Statechart models call be validated/debugged by (a) generating code from the Statechart models, (b) employing established software debugging methods like program slicing on the generated code, and (c) relating the program slice back to the Statechart level. Our study is presented concretely in terms of dynamic slicing of Java code produced front Statechart models. The slice produced at the code level is mapped back to the model level for enhanced design comprehension. We use the open-source JSlice tool for dynamic slicing of Java programs ill our experiments. We present results on a wide variety of real-life control systems which are modeled as Statecharts (from the informal English requirements) and debugged using our methodology. We feel that our debugging methodology fits in well with design flows in model-driven software development.
引用
收藏
页码:292 / 306
页数:15
相关论文
共 50 条
  • [1] Ladder Programs Validation Through Model-Code Traceability
    Sampaio, Leonardo Rodrigues
    Perkusich, Angelo
    da Silva, Leandro Dias
    [J]. 2011 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL TECHNOLOGY (ICIT), 2011,
  • [2] Practical Compression with Model-Code Separation
    Huang, Ying-zong
    Wornell, Gregory W.
    [J]. 2015 DATA COMPRESSION CONFERENCE (DCC), 2015, : 451 - 451
  • [3] A synchronizing technique for syntactic model-code round-trip engineering
    Angyal, Laszlo
    Lengyel, Laszlo
    Charaf, Hassan
    [J]. FIFTEENTH IEEE INTERNATIONAL CONFERENCE AND WORKSHOPS ON THE ENGINEERING OF COMPUTER-BASED SYSTEMS, PROCEEDINGS, 2008, : 463 - 472
  • [4] Disqover: Debugging via Code Sequence Covers
    Elsaka, Ethar
    Memon, Atif
    [J]. 2015 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW), 2015, : 85 - 92
  • [5] Detecting safety-related components in statecharts through traceability and model slicing
    Kan, Shuanglong
    Huang, Zhiqiu
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2018, 48 (03): : 428 - 448
  • [6] Synthesizing Manually Verifiable Code for Statecharts
    Smyth, Steven
    Motika, Christian
    von Hanxleden, Reinhard
    [J]. PROCEEDINGS OF THE 5TH ACM SIGPLAN INTERNATIONAL WORKSHOP ON REACTIVE AND EVENT-BASED LANGUAGES AND SYSTEMS (REBLS'18), 2018, : 1 - 10
  • [7] Improving Source Code Lexicon via Traceability and Information Retrieval
    De Lucia, Andrea
    Di Penta, Massimiliano
    Oliveto, Rocco
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2011, 37 (02) : 205 - 227
  • [8] Design of Multi-Chain Traceability Model for Pepper Products Based on Traceability Code
    Jin, Wenxuan
    Zheng, Mingjun
    Liu, Pingzeng
    [J]. APPLIED SCIENCES-BASEL, 2024, 14 (09):
  • [9] Mapping UML statecharts to Java']Java code
    Niaz, IA
    Tanaka, J
    [J]. PROCEEDINGS OF THE IASTED INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2004, : 111 - 116
  • [10] Automatic Recovery of Statecharts from Procedural Code
    Abadi, Moria
    Feldman, Yishai A.
    [J]. 2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 238 - 241