[[Property:title|CA034 - High NPATH complexity]]
[[Property:link_title|CA034]]
[[Property:weight|0]]
[[Property:uuid|f6ffe1e0-2b46-66db-60de-0cdd5c42f453]]
__NOTOC__
=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.
:{| class="doctable"
|-
| '''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.