pub fn parse_all_files(
files: &[DiscoveredFile],
cache: Option<&CacheStore>,
need_complexity: bool,
) -> ParseResultExpand description
Parse all files in parallel, extracting imports and exports. Uses the cache to skip reparsing files whose content hasn’t changed.
When need_complexity is true, per-function cyclomatic/cognitive complexity
metrics are computed during parsing (needed by the health command).
Pass false for dead-code analysis where complexity data is unused.