Skip to main content

get_complexity_metrics

Calculate cyclomatic complexity for methods. Returns methods exceeding the threshold, sorted by complexity.

Parameters

ParameterTypeRequiredDescription
projectstringOptional project name filter
thresholdintMinimum complexity threshold (default: 10)