IfSQ
Papers, Presentations and Books
Journal Paper: Analyzing Error-Prone System Structure
|
Findings relevant to IfSQ Standards:
- Routines with 143 lines or less are 2.4 times less expensive to fix than larger routines
- Given a sample of 450 routines, the routines with the highest coupling-to-cohesion ratios had 7 times more errors than those with the lowest ratios
- Routines with low cohesion can cost 20 times more to fix than fixing highly cohesive routines
IfSQ Defect Indicators:
-
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., -
SP-4—Module Not Cohesive
Routines which are cohesive are typically easier to modify, easier to fix and contain less errors than routines with diverse tasks.