Design by Contract: A Simple Technique for Improving the Quality of Software

reportActive / Technical Report | Accession Number: ADP023865 | Open PDF

Abstract:

At its heart, Design by Contract DbC 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, will improve the quality of any software with minimal additional cost. In this paper we will define what DbC is, how it can benefit any software, and show several examples of software developed at ARL MSRC that use DbC.

Security Markings

DOCUMENT & CONTEXTUAL SUMMARY

Distribution:
Approved For Public Release
Distribution Statement:
Approved For Public Release; Distribution Is Unlimited.

RECORD

Collection: TR
Identifying Numbers
Subject Terms