Method has too many lines

CachéQuality release 
1.0.0
Id 
OS0071
Rule type 
Severity 

Critical

Critical
SQALE characteristic 
  • Maintainability
    • Maintainability compliance
Tags 
design, maintainability
Remediation function 
Constant/issue
Remediation cost 
2h

This check retrieves the number of lines in a given method and checks that it is less than, or equal to, a given threshold. Note that the opening and closing braces are taken into account, but the method declaration is not.

The default value is 50.