module documentation

Computes the cyclomatic complexity of a program or control flow graph.

Function cyclomatic_complexity Computes the cyclomatic complexity of a function from its cfg.
Function cyclomatic_complexity2 Computes the cyclomatic complexity of a program from its cfg.
def cyclomatic_complexity(control_flow_graph): (source)

Computes the cyclomatic complexity of a function from its cfg.

def cyclomatic_complexity2(control_flow_graph): (source)

Computes the cyclomatic complexity of a program from its cfg.