Testing and Verification Methods Based on UML2.0Models

Author
ZhangZuo
Advisor
DuanZhenHua
School
Xi'an University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP311.5 Software Engineering
Degree
Doctoral dissertation
Year
2012
Downloads
158
Citations
1

Request the full text

Abstract

Unified Modeling Language (UML) is a visual modeling language with powerful description ability and intuitionistic meaning. It provides various diagrams to depict system characteristics and complex behaviors from different viewpoints and application layers. UML-based software developing process and modeling environments have been widely accepted in the academic and industrial, but the lack of precise semantics for graphical symbols makes it difficult to verify the correctness of UML and judge if the models satisfy the requirements. So the formal specification and verification of UML models has become a key issue.This dissertation mainly focuses on the UML2.0models, in which a specification method based on event deterministic finite automata (ETDFA) and a verification method based on propositional projection temporal logic (PPTL) for sequence diagrams (SD) are proposed. On the basis of verified automata, synthesis rules are used to get the composed automata, and an incremental test case generation algorithm is applied to obtain the set of test cases. To ensure the correctness of interactive behaviors in distributed software systems, the modeling, verification and testing methods of interactive actions are discussed. System state machine diagrams, object state machine diagrams and sequence diagrams are introduced to model the state transitions and interactive behaviors in modules respectively. Verification and testing methods can confirm the correctness of models and their interactive behaviors.The main contributions of the dissertation are as follows:(1) A formal description method for UML2.0sequence diagrams is presented. With the grammar and semantic of SD, the7-tuple definition of ETDFA and the algorithm of constructing ETDFA based on SD, a formal description process can be accomplished.(2) To analysis and verify the automata models of SD, PPTL model checking is adopted in this thesis. The verification results can be obtained by an algorithm of model checking ETDFA with PPTL formulas being the properties. Finally, with the implementation of a PPTL model checker based on Spin, the ETDFA models of SD are verified.(3) The key techniques of test cases generation from models are analyzed and an incremental test case generation method is proposed. Event deterministic finite automata are employed to describe the sequence diagrams models of software systems. Further, a synthesis algorithm is given to get the composed automata. In addition, to generate the test cases incrementally, the test scenarios generation rules and test cases generation algorithm are presented in this thesis. This approach improves test cases correctness, and reduces the complexity of test cases generation process. (4) To ensure the correctness of interactive behaviors among the modules in distributed software systems, a modeling method which uses system state machine diagrams, object state machine diagrams and sequence diagrams to describe the state transitions and interactive behaviors in modules is proposed in this dissertation. PPTL model checking is adopted to verify whether the interactive modules can satisfy the system properties. On the basis of verified sequence diagrams, test case generation method is used to get the set of test cases to test the interactive behaviors.(5) A tool called SDTA is devised and built, which supports a full transformation from SD to ETDFA automatically. With the tool, UML models and automata can be directly created. Then the source models are translated with rules into target models by SDTA.

Table of contents

About the Author 2-4 Summary 4-6 ABSTRACT 6-8 directory 8-10 Article Chapter Introduction 10-22 1.1 background and significance 10-11 1.2 formal Methods 11-13 1.3 temporal logic 13-14 1.4 test model based 14-15 1.5 related research work and purpose of this study 15-19 1.5.1 related research work 15-19 1.5.2 the purpose of this study 19 1.6 the main thesis work and organizational structure 19-22 chapter UML2. 0 sequence diagram formal description 22-40 2.1 sequence diagrams defined 22-26 2.1.1 UML2.0 sequence diagram of new features 22 - 23 grammar nbsp 2.1.2 sequence diagram ; 23-25 ?? formal definition 2.1.3 sequence diagram of a single object 25-26 2.1.4 serial Figure semantic finite state automata model nbsp 26 2.2 sequence diagrams ; 26-35 2.2.1 basic theory of automata 26-27 <br / > 2.2.2 deterministic finite automata event ETDFA 27-28 2.2.3 ETDFA structure 28-35 2.3 application examples 35-39 <br / > 2.4 Summary 39-40 Chapter III UML2.0 sequence diagram based on formal verification 40-50 3.1 propositional projection temporal logic 40 - 41 3.1.1 grammar 40 3.1.2 semantic 40-41 3.2 sequence diagrams based authentication methods 41-45 <br / > 3.2.1 describe the nature 42-43 3.2.2 Buchi automata 43-44 3.2.3 Authentication Method 44-45 3.3 application examples 45-47 3.4 Summary 47-50 Chapter IV test case generation method based on automatic machines 50-62 4.1 synthetic nbsp automaton ; 50-54 4.1.1 complex automata 50 4.1.2 synthesis rules 50-54 4.2 test case generation 54-56 4.2.1 coverage criteria 54-55 4.2.2 test scenario generation 55 4.2.3 use Case Description 55 4.2.4 test case generation 55-56 4.3 application examples 56-59 4.4 Summary 59-62 <br / > modeling, validation and testing of distributed software systems Chapter interactive behavior modeling and verification 62-76 5.1 interactive behavior of distributed software systems 62-68 <br / > 5.1.1 state machine diagram defines 62-63 5.1.2 interactive behavior modeling 63-68 5.1.3 interactions verification 68 5.2 distributed Software systems testing Framework 68-70 5.2.1 distributed Software testing Framework 68-69 5.2.2 test case generation 69-70 5.3 application examples 70-74 5.4 Summary 74-76 Chapter VI formalized sequence diagram modeling environment 76-84 6.1 UML modeling tool 76-78 6.2 sequence diagrams modeling environment 78-80 6.2.1 sequence diagram to automata Model conversion tool designed 78-79 6.2.2 sequence diagram conversion tool to achieve automaton model 79-80 6.3 application examples 80-83 <br / > 6.4 summary 83-84 Chapter VII summary and Outlook 84-88 7.1 paper summarizes 84-85 7.2 future research work 85-88 Thanks 88-90 References research results 90-98 doctorate during 98

Related dissertations

  1. Model Checking and Testing of Concurrent Systems
    WuPeng ·Institute of Software ·2005 ·Doctoral dissertation
  2. Decidability, Complexity, Expressiveness and Model Checking of Propositional Projection Temporal Logic
  3. Decidability of Propositional Projection Temporal Logic
  4. Research on a Method of Test Cases Generation Based on Timed Automata
    FanSuJuan ·Zhengzhou University ·2010 ·Master's thesis
  5. Research on Trustworthiness of Resource Adaptability for Internetware
    XiaZuo ·Anhui University of Engineering ·2013 ·Master's thesis
  6. Clocks Manipulation Applying to the Formal Verificationof Timed System
    GuiYaYun ·Shanghai University ·2013 ·Master's thesis
  7. Model Checking of FlexRay Communication Protocol
    GuoXiaoZuo ·Tianjin University ·2012 ·Master's thesis
  8. Research of Analysis Method in RBC Based on Model Checking
    SongHaiFeng ·Beijing Jiaotong University ·2014 ·Master's thesis
  9. Bread First Search Based Model Checking
  10. Research and Application on Key Technologies of Model Checking
    LiuZhiFeng ·Nanjing University ·2011 ·Doctoral dissertation
  11. Research on Safety Verification Techniques for Logic Control
    TianFengQi ·Northeastern University ·2010 ·Master's thesis
  12. The Research for State Reachability Relation of Uncertain Planning via Model Checking
    HuYuLong ·Xiangtan University ·2012 ·Master's thesis
  13. The Research of Effective Model Checking for Network Authentication Protocol
    TanZhiHua ·Hunan University ·2011 ·Master's thesis
  14. The Formal Modeling of Network Protocols and Discovery of Attacks Based on Model Checking
    MengGuoZhu ·Tianjin University ·2012 ·Master's thesis
  15. Research on Network Security Evalutation Technology Based on Attack Graph Model
    ChengYeXia ·Shanghai Jiaotong University ·2012 ·Master's thesis
  16. Formal model checking based authentication protocol
  17. Study of Protocol Conform Ance Testing Based on Fsm Model
  18. The Improvement and Application of the PPTL Model Checker
  19. The Research on the Security of the RFID Mutal Authentication Protocol Base on EPC C1G2
    RongJiFang ·Hunan University ·2011 ·Master's thesis
  20. Toward Generating Optimization Actions of Twig Pattern
    LiuKe ·Beijing University of Technology ·2013 ·Master's thesis