An Experience With Design by Contract

  • Authors:
  • Judy Tantivongsathaporn;Daniel Stearns

  • Affiliations:
  • Raytheon Corporation;California Polytechnic State University, San Diego

  • Venue:
  • APSEC '06 Proceedings of the XIII Asia Pacific Software Engineering Conference
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Design by Contract uses a formal contractual approach to specify and implement the elements of a software system. Design by Contract practice is not widely accepted in the software industry for a variety of reasons. Most notably, there is little research that demonstrates the efficacy of Design by Contract practices. A yearlong experiment compared Design by Contract practices with more traditional defensive programming practices. Sixteen software development teams independently designed and constructed an industrial-strength project for Brocade Corporation. The experiment gathered productivity data on each team and metrics on their software artifacts. Detailed analyses were performed on the data to compare and contrast the performance of the teams. This paper describes the project, data collection, analysis and results of the experiment.