pub fn format_cognitive_text(report: &CognitiveReport) -> StringExpand description
Format cognitive complexity report for text output
Shows top-N functions ranked by cognitive complexity, with threshold violations highlighted. Strips common path prefix for compact display.
Cognitive Complexity (12 functions, 3 violations)
# Score Nest Status Function File
1 18 4 SEVERE parse_args core.py:142
2 15 3 VIOLATION make_context core.py:1200
3 12 2 ok invoke core.py:987