Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#201 NPath complexity

release_3.4
closed
Check (274)
5
2012-10-10
2003-06-08
Simon Harris
No

Description
The NPATH metric computes the number of possible
execution paths through a function. It takes into
account the nesting of conditional statements and
multi-part boolean expressions (e.g., A && B, C || D,
etc.). Default = 30.

Rationale
Nejmeh says that his group had an informal NPATH limit
of 200 on individual routines; functions that exceeded
this value were candidates for further decomposition -
or at least a closer look. In practice I have found a
much lower NPath value to be of more use.

Discussion

  • Logged In: YES
    user_id=746148

    Committed in CVS for 3.4. Module NPathComplexity.