Semantic Integrity of Switching Sections with Contracts: Discussion of a Case Study
Volume 10, Issue 2 (1999), pp. 203–218
Pub. online: 1 January 1999
Type: Research Article
Received
1 January 1999
1 January 1999
Published
1 January 1999
1 January 1999
Abstract
We have studied the design documentation for two industrial software modules to see if they apply ideas corresponding to contracts, as introduced by Bertrand Meyer, either in an intuitive or in a formal way. They did not, and we identified this fact to be a potential risk factor. This paper presents one of the modules studied, consisting of a sequence of switching sections. Starting from this case study, the paper also discusses how switching sections in general can be designed using contracts in order to increase the semantic integrity of the module as a whole.