IfSQ
Coupling-to-Cohesion ratio inversely correlated to errors
Research Finding:
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.
IfSQ Defect Indicators based on this finding:
-
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.
Source:
Analyzing Error-Prone System Structure
- Richard W. Selby, and Victor R. Basili
- Recorded 1991 in IEEE Transactions on Software Engineering, SE-17, no. 2, February
- Pages 141-52