Nesting depth 
ID | FCNS-8 |
Title | Limit nesting depth to a maximum of five. |
Priority | Strongly recommended |
Severity level | 5 |
Description | Do not nest blocks of code deeper than five levels. If necessary, refactor into multiple functions. |
Rationale | Deeply nested code is often less readable and it can be a sign of inefficient code. |