Function metrics
- Function with more than three negations
Reports a function with three or more negation operations (! or !=).
- Function with multiple loops
Reports a function with multiple loop statements.
- Function with multiple return points
Reports a function with multiple return points.
- Function with too many parameters
Reports a function with too many parameters.
- Overly complex function
Reports a function with too many branching points in a function (too high cyclomatic complexity).
- Overly long function
Reports an overly long function.
- Overly nested function
Reports a function whose body contains statements that are too deeply nested within other statements.
Last modified: 11 September 2024