IfSQ
Long routines are more error prone
Research Finding:
A study at IBM found that the most error-prone routines were those larger than 500 lines of code.
IfSQ Defect Indicators based on this finding:
-
SP-1—Routine Too Long
Routines longer than 150 lines (excluding comments and blank lines) have been shown to be less stable, more subject to change, and more expensive to fix than shorter routines.
Source: