Version
- Tags:
- analysis
- feature property
CA034 - High NPATH complexity
Description
NPATH is the number of acyclic execution paths through a routine. A routine's NPATH complexity should not be too high. In order to reduce the NPATH complexity one can move some functionality to separate routines.
Scope Feature Status Enabled Severity Warning Applicability All Score 60 NPATH complexity threshold 200
Example of violation
Recommendation
Reduce complexity of routine by refactoring parts of the routine into their own routines.
Back to Rules