DocumentCode :
1687695
Title :
Inheritance and Modularity in Specification and Verification of OO Programs
Author :
Yijing, Liu ; Ali, Hong ; Zongyan, Qiu
Author_Institution :
Dept. of Inf., Peking Univ., Beijing, China
fYear :
2011
Firstpage :
19
Lastpage :
26
Abstract :
Specification and verification for object oriented (OO) programs remains a great challenge despite of decades´ efforts. To address the problem, we propose a novel specification and verification framework, which supports abstraction and offers modularity via a set of scope and inheritance rules, and a concept calledemph{specification predicate}. The framework covers the most important OO features like encapsulation, inheritance and polymorphism, while only one specification per method is necessary. It can successfully deal with inheritance, keep still modularity in verification, and avoid re-verification of the implementation. We show how the framework can be integrated into an OO language, and use examples to illustrate how the specification and verification can be carried out in our framework following the structures of OO programs in an abstract and modular way.
Keywords :
formal specification; object-oriented languages; object-oriented programming; program verification; OO language; OO program specification; OO program verification; encapsulation feature; inheritance feature; inheritance rules; modularity; object oriented programs; polymorphism feature; specification predicate; Casting; Connectors; Educational institutions; Electronic mail; Encapsulation; Java; Programming; Abstraction; Modularity; Object Orientation; Separation Logic; Specification; Verification;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Theoretical Aspects of Software Engineering (TASE), 2011 Fifth International Symposium on
Conference_Location :
Xi´an, Shaanxi
Print_ISBN :
978-1-4577-1487-0
Type :
conf
DOI :
10.1109/TASE.2011.28
Filename :
6042059
Link To Document :
بازگشت