Target values for metrics:
Metric | Reference Values | Min / Max Values |
---|---|---|
Defects corrected after document reviews | 100% | Min |
Number of tests failing before TRR | 0 | Max |
Requirements covered by Validation | 100% | Min |
Structural analysis: Statement coverage | 100% | Min |
Structural analysis: Decision coverage | 100% | Min |
Nesting Level | 5 | Max |
Cyclomatic complexity | 15 | Max |
LOC per procedure | 100 | Max |
Code comment frequency | 20% | Min |
The SUR (Subject under review) will then have to be scanned regarding whether it meets those requirements or not. Attributes like these could be mandated by international standards, customers, company internal coding standards and/or internal project coding standards / guidelines.