4. Code Measurement
Metrics: Over 1000 process and code [Horst Zuse]
- static (lines of code, number of operators)
- dynamic (reliability)
Myth: Code complexity correlates to testing costs: True (but only for certain types of testing)
Myth: Complex code is unreliable software: False
- Studies show that medium complexity modules are more reliable than smaller ones. [L. Hatton, "Reexamining the Fault Density-Component Size Connection", IEEE Software, March, 1997]