calculate

Calculate the McCabe complexity.

Valid cursors are those with a body. decl.isDefinition must be true.

Tested CXCursor kinds that are definitions: - FunctionDecl - ConversionFunction - Constructor - Destructor - CXXMethod

extern (C++, dextool_clang_extension) extern (C++, McCabe) extern (C++)
calculate

Meta