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 条
  • [11] Union Discourse and Perceived Violation of Contract A Social Contract-Based Approach
    Peyrat-Guillard, Dominique
    RELATIONS INDUSTRIELLES-INDUSTRIAL RELATIONS, 2008, 63 (03): : 479 - 501
  • [12] Incentive Mechanism for Participatory Sensing: A Contract-Based Approach
    Chen, Zhonghui
    Lin, Yeting
    Feng, Xinxin
    Zheng, Haifeng
    Xu, Yiwen
    2017 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2017, : 325 - 332
  • [13] A contract-based approach of resource management in information systems
    Le Sommer, N
    OBJECT-ORIENTED INFORMATION SYSTEMS, 2003, 2817 : 130 - 141
  • [14] Smart contract-based approach for efficient shipment management
    Hasan, Haya
    AlHadhrami, Esra
    AlDhaheri, Alia
    Salah, Khaled
    Jayaraman, Raja
    COMPUTERS & INDUSTRIAL ENGINEERING, 2019, 136 : 149 - 159
  • [15] A contract-based approach for secure service discovery systems
    Nait-Sidi-Moh, A.
    Bakhouya, M.
    Wack, M.
    2007 IEEE INTERNATIONAL CONFERENCE ON PERVASIVE SERVICES, 2007, : 437 - +
  • [16] Contract-based testing: from objects to components
    Collet, P
    Deveaux, D
    Rousseau, R
    Le Traon, Y
    IWoTA 2004: 1st International Workshop on Testability Assessment, Proceedings, 2004, : 5 - 14
  • [17] Contract-based Approach for Security Deposit in Blockchain Networks with Shards
    Li, Jing
    Liu, Tingting
    Niyato, Dusit
    Wang, Ping
    Li, Jun
    Han, Zhu
    2019 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN (BLOCKCHAIN 2019), 2019, : 75 - 82
  • [18] Contract-Based Verification of Model Transformations: A Formally Founded Approach
    Brau, Guillaume
    Foughali, Mohammed
    36TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2021, 2021, : 1559 - 1568
  • [19] A contract-based approach of resource-constrained software deployment
    Le Sommer, N
    Guidec, F
    COMPONENT DEPLOYMENT, 2002, 2370 : 15 - 30
  • [20] Privacy preservation in location-based advertising: A contract-based approach
    Wang, Wei
    Yang, Linlin
    Zhang, Qian
    COMPUTER NETWORKS, 2015, 93 : 213 - 224