Class CycloMetric

    • Constructor Detail

      • CycloMetric

        public CycloMetric()
    • Method Detail

      • booleanExpressionComplexity

        public static int booleanExpressionComplexity​(ASTStandardCondition expression)
        Computes the number of control flow paths through that expression, which is the number of || and && operators. Used both by Npath and Cyclo.
        Parameters:
        expression - Boolean expression
        Returns:
        The complexity of the expression