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
关键词
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 条
  • [1] A CONTRACT-BASED APPROACH TO IMPROVING AUTOMATIC TEST GENERATOR
    Bareisa, Eduardas
    Prelgauskas, Justinas
    Neverdauskas, Tomas
    INFORMATION TECHNOLOGIES' 2011, 2011, : 133 - 140
  • [2] A contract-based approach to adaptivity
    Schroeder, Andreas
    Bauer, Sebastian S.
    Wirsing, Martin
    JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2011, 80 (3-5): : 180 - 193
  • [3] Validating specifications: A contract-based approach
    Nellore, R
    IEEE TRANSACTIONS ON ENGINEERING MANAGEMENT, 2001, 48 (04) : 491 - 504
  • [4] ARCHITECTURAL MALPRACTICE - CONTRACT-BASED APPROACH
    不详
    HARVARD LAW REVIEW, 1979, 92 (05) : 1075 - 1102
  • [5] Systematic approach for constructing an understandable state machine from a contract-based specification: controlled experiments
    Bae, Jung Ho
    Chae, Heung Seok
    SOFTWARE AND SYSTEMS MODELING, 2016, 15 (03): : 847 - 879
  • [6] Systematic approach for constructing an understandable state machine from a contract-based specification: controlled experiments
    Jung Ho Bae
    Heung Seok Chae
    Software & Systems Modeling, 2016, 15 : 847 - 879
  • [7] Cooperative Spectrum Sharing: A Contract-Based Approach
    Duan, Lingjie
    Gao, Lin
    Huang, Jianwei
    IEEE TRANSACTIONS ON MOBILE COMPUTING, 2014, 13 (01) : 174 - 187
  • [8] A Temporal Logics Approach to Contract-Based Design
    Cimatti, Alessandro
    Tonetta, Stefano
    2016 ARCHITECTURE-CENTRIC VIRTUAL INTEGRATION (ACVI), 2016, : 1 - 3
  • [9] Validating Industrial Requirements with a Contract-Based Approach
    Bernaerts, Matthias
    Oakes, Bentley James
    Vanherpen, Ken
    Aelvoet, Bjorn
    Vangheluwe, Hans
    Denil, Joachim
    2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2019), 2019, : 18 - 27
  • [10] Contract-based approach to analyze software components
    Zitouni, A.
    Seinturier, L.
    Boufaida, M.
    ICECCS 2008: THIRTEENTH IEEE INTERNATIONAL CONFERENCE ON THE ENGINEERING OF COMPLEX COMPUTER SYSTEMS, PROCEEDINGS, 2008, : 237 - 242