pub fn compute_complexity(
node: &Node<'_>,
support: &dyn Language,
source: &[u8],
) -> usizeExpand description
Compute cyclomatic complexity for a function node using the .complexity.scm query.
Returns 1 (base complexity) for languages without a complexity query.