Method uses too many variables
- Efficiency compliance
This check detects the number of local variables declared/used in a method and reports an issue if this number is deemed to be too high (this number is configurable).
Moreover, it is often the case that a method with too many variables is also too complex. It is therefore strongly recommended to refactor the code in order to avoid this issue.
Maximum number of variables allowed for a method