Research Findings Relevant to the IfSQ Standards
What should you look for?
Entry Level Compliance
Best size for routines is 100-150 lines
A study showed that when routines averaged 100 to 150 lines each, code was more stable and required less changes.
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.