Better not to exceed 143 lines in a routine
Routines with 143 lines or less are 2.4 times less expensive to fix than larger routines.
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.