pub fn annotate(graph: &mut Graph) -> usizeExpand 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.