Class NPathComplexityCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public final class NPathComplexityCheck
    extends AbstractCheck
    Checks the npath complexity against a specified limit (default = 200). The npath metric computes the number of possible execution paths through a function. Similar to the cyclomatic complexity but also takes into account the nesting of conditional statements and multi-part boolean expressions.
    Author:
    Simon Harris, o_sukhodolsky