CA034 - High NPATH complexity


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


Reduce complexity of routine by refactoring parts of the routine into their own routines.

cached: 05/20/2024 6:28:19.000 AM