pub fn file_complexity(tokens: &[Token], format: &str) -> u64Expand description
The complexity of a file’s code: one path per function, or one for the
whole file where the language has no function marker the scan can trust,
plus one per branch. Prose, data and markup have no paths: an “if” in a
README or an HTML attribute is a word, and a lock file full of ||
version ranges is not code.