IfSQ
More than 4 levels of nesting too difficult
Research Finding:
Many researchers recommend avoiding going to more than four levels.
IfSQ Defect Indicators based on this finding:
-
SP-2—Nesting Too Deep
Studies have shown that few people can understand nesting of conditional statements to more than 3 levels.
Sources:
Professional Software, vol. 2, Programming Practice
- Henry F. Ledgard, and John Tauer
- Published 1987 by Hayden Books
Some Pascal Style Guidelines
- David Marca
- Recorded 1981 in ACM Sigplan Notices, 16, no. 4, April
- Pages 70-80