DocumentCode :
2674664
Title :
A framework for detecting interface violations in component-based software
Author :
Edwards, Stephen H. ; Shakir, Gulam ; Sitaraman, Murali ; Weide, Bruce W. ; Hollingswort, Joseph
Author_Institution :
Dept. of Comput. Sci. & Electr. Eng., West Virginia Univ., Morgantown, WV, USA
fYear :
1998
fDate :
2-5 Jun 1998
Firstpage :
46
Lastpage :
55
Abstract :
Two kinds of interface contract violations can occur in component based software: a client component may fail to satisfy a requirement of a component it is using, or a component implementation may fail to fulfil its obligations to the client. The paper proposes a systematic approach for detecting both kinds of violations, so that violation detection is not hard coded into base level components, but is “layered” on top of them, and so that it can be turned “on” or “off” selectively for one or more components, with practically no change to executable code (limiting changes to a few declarations). Among the salient features of this approach are its use of formal specifications, the ability to handle parameterized (i.e., generic, or template) components, and the automatic generation of routine aspects of violation detection. We have designed, built, and experimented with a generator of checking components for C++ templates
Keywords :
application program interfaces; formal specification; object-oriented programming; program testing; software performance evaluation; C++ templates; automatic generation; base level components; checking component; checking components; client component; component based software; component implementation; error handling; executable code; formal specifications; interface contract violations; interface violation detection framework; parameterized components; routine aspects; systematic approach; template; wrapper; Contracts; Formal specifications;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Reuse, 1998. Proceedings. Fifth International Conference on
Conference_Location :
Victoria, BC
ISSN :
1085-9098
Print_ISBN :
0-8186-8377-5
Type :
conf
DOI :
10.1109/ICSR.1998.685729
Filename :
685729
Link To Document :
بازگشت