Skip to main content

collect_class_metrics

Function collect_class_metrics 

Source
pub fn collect_class_metrics(cpg: &CodePropertyGraph) -> Vec<ClassMetric>
Expand description

Collects metrics for every class node.

Uses the same name → index lookup for O(1) edge counting.