Software Component Specification Using Design by Contract
Yi Liu
Abstract
Yi Liu
Abstract
This paper describes methods for identifying appropriate software components for an application and for specifying the components' operations rigorously. It uses the theory and methods of the design by contract approach for specification of the functionality. The actual implementations of a component's operations are hidden from the clients and encapsulated within the component. A component communicates with another component only through one of the other component's supported interfaces. Hence, a component can be easily replaced by another that implements the same operations. By using design by contract, we build reliable reusable components.
OpenAlex reports 15 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
This paper describes methods for identifying appropriate software components for an application and for specifying the components' operations rigorously. It uses the theory and methods of the design by contract approach for specification of the functionality. The actual implementations of a component's operations are hidden from the clients and encapsulated within the component. A component communicates with another component only through one of the other component's supported interfaces. Hence, a component can be easily replaced by another that implements the same operations. By using design by contract, we build reliable reusable components.
Key concepts: Component (thermodynamics), Computer science, Design by contract, Component-based software engineering, Common Component Architecture, Software engineering, Implementation, Software