Title :
Design by contract: a simple technique for improving the quality of software
Author_Institution :
US Army Res. Lab., Aberdeen Proving Ground, MD, USA
Abstract :
At its heart, design by contract (DbC) (B.Meyer, 1997) is a technique for expressing the relationship between a software routine (the supplier) and the callers of that routine (the clients). DbC is inspired by commercial relationships and business contracts that formally express the rights and obligations binding a client and a supplier. DbC provides a clean, easy-to-implement technique that specifies the roles and constraints applying to a routine, and ultimately, improves the quality of any software with minimal additional cost. In this paper we define what DbC is, how it can benefit any software, and show several examples of software developed at ARL MSRC that use DbC.
Keywords :
contracts; object-oriented programming; software development management; software performance evaluation; software quality; business contracts; design by contract; software quality; Arithmetic; Communication system software; Contracts; Error correction; Heart; Laboratories; Programming profession; Robustness; Software performance; Software quality;
Conference_Titel :
Users Group Conference (DOD_UGC'04), 2004
Conference_Location :
Williamsburg, VA, USA
Print_ISBN :
0-7695-2259-9
DOI :
10.1109/DOD_UGC.2004.10