IfSQ
Better to limit control flow complexity
Research Finding:
Control-flow complexity has been correlated with low reliability and frequent errors.
IfSQ Defect Indicators based on this finding:
-
SP-3—Routine Too Complex
Control-flow complexity has been correlated with low reliabilty and frequent errors.
Sources:
A Complexity Measure
- Tom McCabe
- Recorded 1976 in IEEE Transactions on Software Engineering, SE-2, no. 4, December
- Pages 308-20
Identifying Error-Prone Software - An Empirical Study
- Vincent Y. Shen, Tze-jie Yu, S.M. Thebaut, and L.R. Paulsen
- Recorded 1985 in IEEE Transactions on Software Engineering, SE-11, no. 4, April
- Pages 317-24
Software Defect Prevention Using McCabe's Complexity Metric
- William T. Ward
- Recorded 1989 in Hewlett-Packard Journal, April
- Pages 64-69