A
als
If management wants a measure of code quality - will these metrics say
it all? What are the acceptable values for these metrics?
Metric 1 – efferent coupling (acceptable value?)
Metric 2/3 – large methods (lines of code / instruction level)
Metric 4 – cyclomatic complexity (CC is higher than 15 are hard to
understand and maintain)
Metric 5 – variables per method (acceptable value?)
Metric 6 – test coverage (>70% coverage should be aimed)
Metric 7 - Dependency (acceptable value)
metric 8 - LCOM - Types where LCOMHS > 1.0 and NbFields > 10 and
NbMethods >10 should be avoided
Metric 9 - Instability - (acceptable range?)
it all? What are the acceptable values for these metrics?
Metric 1 – efferent coupling (acceptable value?)
Metric 2/3 – large methods (lines of code / instruction level)
Metric 4 – cyclomatic complexity (CC is higher than 15 are hard to
understand and maintain)
Metric 5 – variables per method (acceptable value?)
Metric 6 – test coverage (>70% coverage should be aimed)
Metric 7 - Dependency (acceptable value)
metric 8 - LCOM - Types where LCOMHS > 1.0 and NbFields > 10 and
NbMethods >10 should be avoided
Metric 9 - Instability - (acceptable range?)