- Absolut number of contract assertions per component
- Average number of contract assertions per class per component
Notes about Software Engineering, Test-Driven Development, C#.NET, Java and ...
Thursday, November 4, 2010
'Design By Contract' Metrics
We are currently introducing 'Design By Contract' to a software development group of about 60 developers, which are developing different components. We started by defining 'Design By Contract' policies for C# and Java. It is quite challenging to manage this change effort.
One piece of the change strategy is to measure the progress. We are counting the number of classes and the number of contract assertions (Preconditions, post conditions and invariants). So we have two statistics:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment