Skip to main content

annotate

Function annotate 

Source
pub fn annotate(graph: &mut Graph) -> usize
Expand description

Annotate every file node (kind == "file") whose id is a readable source file of a known extension with complexity metrics. Returns the number of nodes annotated. Nodes whose file cannot be read/parsed are left untouched.