No rule selected
G-7180 – Try to keep the complexity of functions, procedures and triggers simple.
The [Cyclomatic Complexity](https://en.wikipedia.org/wiki/Cyclomatic_complexity) is a metric to assess the complexity of code. The metric basically determines the number of paths through the code. The more paths, the more test cases are required for full branch coverage. The Cyclomatic Complexity is categorised as follows: | Cyclomatic Complexity | Complexity | | :--: | -- | | < 11 | low | | < 51 | medium | | other values | high | PL/SQL units with low complexity are typically easier to understand, test and maintain.
Tags: Stored Object.
Quality area: Maintainability. Severity: Critical. Fixing time: Local-high.
Press p or n to quickly navigate to the previous/next rule.
