DocumentCode
2475175
Title
An experimental evaluation of programming by contract
Author
Blom, Martin ; Nordby, Eivind J. ; Brunstrom, Anna
Author_Institution
Dept. of Comput. Sci., Karlstad Univ., Sweden
fYear
2002
fDate
2002
Firstpage
118
Lastpage
127
Abstract
This paper presents an experiment designed to compare a contract-based programming method with a reference programming method based on exceptions. The purpose was to evaluate whether contracts would shorten the development time, improve work satisfaction and increase the quality of the resulting software program. The experiment was carried out in a project work course for students in the computer science program at Karlstad University. The students were to solve an assignment in groups of four within a period of ten weeks. Half of the groups used the contract-based method and the other half the exception based method. For statistical analysis we gathered data on time consumption and work satisfaction on daily report forms. The results show that there was a gain in the time spent on implementation of the assignment when the contract-based method is used, but show no significant difference in total time consumption. The results give a weak indication that work satisfaction was slightly higher in the groups using the contract-based method. The resulting programs were analyzed for a range of quality metrics, but no significant differences were found that were directly related to the methods
Keywords
contracts; design of experiments; educational courses; software development management; software engineering; Karlstad University; computer science; contract-based programming; educational course; project; quality metrics; reference programming method; software development; statistical analysis; Books; Computer languages; Computer science; Conferences; Construction industry; Contracts; Software quality; Statistical analysis; Time to market; Unified modeling language;
fLanguage
English
Publisher
ieee
Conference_Titel
Engineering of Computer-Based Systems, 2002. Proceedings. Ninth Annual IEEE International Conference and Workshop on the
Conference_Location
Lund
Print_ISBN
0-7695-1549-5
Type
conf
DOI
10.1109/ECBS.2002.999830
Filename
999830
Link To Document