Programming Language Design of VeriJava Based on Design by Contract
- Author
- ZhangSiBo
- Advisor
- RaoRuoZuo , ZhaoJianJun
- School
- Shanghai Jiaotong University
- Major
- Computer Software and Theory
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 45
- Citations
- 0
Abstract
The program validation based on contract theory first appeared in the 1970s into the study of large systems . 1990s , Bertrand Meyer , Design by Contract ( Design by Contract, DbC ) concept of the introduction of object-oriented programming techniques , and comprehensive support in the construction of the Eiffel language . Design by Contract has been developed into an important software engineering approach to build high-quality and reliability of software , and more and more attention of academia and industry . Design by Contract in the program by the introduction of pre-conditions , post- lease conditions such as conditions and constant way to establish a need for both sides to meet each other contractual relationship between the application service provider and the caller . Can be achieved by way of the dynamic check or static verification lease conditions to the verifiability of the program . Currently, there are a variety of programming languages ??, directly or indirectly , to support the concept of Design by Contract , which includes high-level object-oriented language such as C and C # widely used by application developers . Java as one of the mainstream programming language itself does not support the concept of Design by Contract . In recent years, although there have been some of the the contractual technical means designed to introduce the Java language , but basically through some of the mechanisms of the Java internal or change the behavior of the Java Virtual Machine . Such implementations make the preparation of the contract and procedures for separation , contracts, and to write the check is not mandatory , or contract program patch . Therefore , did not achieve the Java programming language itself fully supports Design by Contract . JDK1.4 introduced assertions (assert) does not fully cover all the features of the design by contract .
Table of contents
Abstract 5-7
ABSTRACT 7-11
1, Introduction 11-14
1.1 Background and Significance 11-12
1.2 research content and results 12-14
2, design by contract theory 14-22
2.1 design by contract definition and meaning for program development 14-16
2.2 research status 16-22
3, VERIJAVA language design , definition and characteristics 22-44
3.1 VERIJAVA language system Framework 22-24
3.2 VERIJAVA the need to support the lease conditions 24-26
3.3 VERIJAVA lexical syntax definition 26-27
3.4 VERIJAVA semantic description 27-29
3.5 VERIJAVA in contract research and analysis 29-39
3.6 complete examples and analysis 39-41
3.7 Summary 41-44
4, VERIJAVA program dynamically check 44-52
4.1 contract checksum 44-45
4.2 based AOP contract dynamically check 45-47
4.3 Compact dynamic checking tool architecture design 47-50
4.4 AOP dynamic checker and VERIJAVA compiler contrast 50 -51
4.5 chapter Summary 51-52
5, VERIJAVA Kit 52-67
5.1 tools Overview 52-53
5.2 ECLIPSE and plug-in technology 53-54
5.3 tools to achieve and Analysis 54-62
5.4 tool uses examples 62-65
5.5 performance testing and analysis 65-67
6, Summary and Outlook 67-68
References 68-70
Thanks 70 - 71
master's papers have been published during the 71
Related dissertations
- A Research of the Design by Contract Framework for Java Platform Based on Metadata
- Study on the principal and agent David Gusmn science and technology activities in the science of political theory of contract
- On Supply Chain Coordination with Price-Quality Dependent Demand
- Appropriable Quasi Rent of Relationship Specific Investment and Its Regulation
- Study of Fresh Agricultural Product Supply Chain Coordination under Emergency
- Research on the Control Mechanism of the Relationship between Agricultural Products Processing Company and Peasant Household
- Study on Valuation System of the Transfer of Management Rights to Contracted Rural Lands Based on Delphi
- Based on the Psychological Contract of FJ Real Estate Company Core Employee Incentive Problem Research
- The Reform of China’s Public Spending Management System Research: a Contract Theory Analysis
- Fujian Electric Power Design Institute Contract Management System Design and Implementation
- Design and Implementation of Uniform Interface Platform System on AOP/IoC in the Telecommunications Industry
- Design and Implementation of Contract Statistical Analysis System for a Company
- Impact of Psychological Contract on Teachers' In-role Performance Behavior in University-school Partnerships
- The construction of civil litigation contract
- Financial Product Contract Risk and Legal Regulation
- Study on Issues of the Crime of Contract Fraud
- The Crime of Fraud of the Contract Problems Explored
- On Several Issues about the Identification of the Contract Fraud Crime
- A Construction Contract Dispute Case Analysis of Liu, a Materials Company and an Engineering Company
- On the Rules and Regulations of Disgorgement