An Automatic Approach to Generating a State Diagram from a Contract-Based Class

被引:3
|
作者
Bae, Jung Ho [1 ]
Chae, Heung Seok [1 ]
机构
[1] Pusan Natl Univ, Dept Comp Sci & Engn, Pusan, South Korea
来源
16TH ANNUAL IEEE INTERNATIONAL CONFERENCE AND WORKSHOP ON THE ENGINEERING OF COMPUTER BASED SYSTEMS, PROCEEDINGS | 2009年
关键词
D O I
10.1109/ECBS.2009.36
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Stale diagrams are commonly used to describe the dynamic behavior of an individual object. In other words, stale diagrams can represent sequences of operations in classes. fit addition, slate diagrams are commonly used for various purposes: test case generation, formal verification and code generation. Because stale diagrams describe all the possible dynamic behaviors of an object, it is very difficult to draw and understand them. This paper presents an automated approach to the generation of a stale diagram from a contract-based class. That is, a state diagrams are automatically generated by analyzing pre/post conditions of each operation. We also developed a tool for supporting our approach and applied the tool to two case studies, MicrowaveOven and BlankReader. We have found that the proposed technique and tool can be useful for constructing state diagrams from contract-based classes.
引用
收藏
页码:323 / 331
页数:9
相关论文
共 50 条
  • [21] Trust and Reputation in Vehicular Networks: A Smart contract-based approach
    Malik, Nisha
    Nanda, Priyadarsi
    He, Xiangjian
    Liu, Ren Ping
    2019 18TH IEEE INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS/13TH IEEE INTERNATIONAL CONFERENCE ON BIG DATA SCIENCE AND ENGINEERING (TRUSTCOM/BIGDATASE 2019), 2019, : 34 - 41
  • [22] A Contract-Based approach to support Goal-Driven Analysis
    Brau, Guillaume
    Hugues, Jerome
    Navet, Nicolas
    2015 IEEE 18TH INTERNATIONAL SYMPOSIUM ON REAL-TIME DISTRIBUTED COMPUTING (ISORC), 2015, : 236 - 243
  • [23] A Contract-Based Approach to Scheduling and Verification of Dynamic Dataflow Networks
    Wiik, Jonatan
    Ersfolk, Johan
    Walden, Marina
    PROCEEDINGS OF THE 2018 16TH ACM/IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR SYSTEM DESIGN (MEMOCODE), 2018, : 78 - 87
  • [24] A Contract-based Approach to Specifying and Verifying Safety Critical Systems
    Dong, Wei
    Chen, Zhenbang
    Wang, Ji
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 176 (02) : 89 - 103
  • [25] Generating methods signatures from transition state diagram: A model transformation approach
    El Beggar, Omar
    Bousetta, Brahim
    Gadi, Taoufiq
    2012 COLLOQUIUM ON INFORMATION SCIENCE AND TECHNOLOGY (CIST'12), 2012, : 4 - 9
  • [26] Coordinating supply networks in customized mass production -: A contract-based approach
    Vancza, J.
    Egri, P.
    CIRP ANNALS-MANUFACTURING TECHNOLOGY, 2006, 55 (01) : 489 - 492
  • [27] On the Edgeworth conjecture for production economies with public goods: A contract-based approach
    Marakulin, V. M.
    JOURNAL OF MATHEMATICAL ECONOMICS, 2013, 49 (03) : 189 - 200
  • [28] Contract-based approach for shop-floor re-engineering
    Camarinha-Matos, L
    Barata, J
    COST ORIENTED AUTOMATION - (LOW COST AUTOMATION 2001), 2002, : 141 - 148
  • [29] Using Blockchain in the Internet of Things Coordination A Smart Contract-based Approach
    Belkeziz, Radia
    Jarir, Zahi
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2021, 12 (08) : 661 - 669
  • [30] Hybrid Cooperative Spectrum Sharing for Cognitive Radio Networks: A Contract-based Approach
    Zhang, Songwei
    Mu, Xiaomin
    Wang, Ning
    Zhang, Dalong
    Han, Gangtao
    MATERIALS SCIENCE, ENERGY TECHNOLOGY AND POWER ENGINEERING II (MEP2018), 2018, 1971