Analyzed 2026-03-05 by code2llm
Run analysis multiple times to build a trend chart (≥3 data points needed).
| Severity | Target | Type | Value | Limit |
|---|---|---|---|---|
| critical | markdown_to_html | high_fan_out | 29 | 10 |
| critical | MarkdownRenderer.table | cc_exceeded | 28 | 15 |
| critical | MarkdownRenderer._highlight_line | high_fan_out | 21 | 10 |
| error | _format_debug_value | cc_exceeded | 24 | 15 |
| error | MarkdownRenderer._highlight_line | cc_exceeded | 21 | 15 |
| error | markdown_to_html | cc_exceeded | 21 | 15 |
| error | MarkdownRenderer._highlight_log | cc_exceeded | 20 | 15 |
| error | _format_debug_value | high_fan_out | 16 | 10 |
| warning | menu | cc_exceeded | 15 | 15 |
| warning | render_table | high_fan_out | 14 | 10 |
| warning | menu | high_fan_out | 13 | 10 |
| warning | MarkdownRenderer.table | high_fan_out | 13 | 10 |
| warning | MarkdownRenderer.render_markdown_with_fences | high_fan_out | 12 | 10 |
| warning | countdown | high_fan_out | 11 | 10 |
| warning | inspect_obj | high_fan_out | 11 | 10 |
| Function | Fan-out | Note |
|---|---|---|
| markdown_to_html | 29 | Orchestrates 29 calls |
| MarkdownRenderer._highlight_line | 21 | Orchestrates 21 calls |
| _format_debug_value | 16 | 16-way dispatch |
| render_table | 14 | Render a formatted table. Args: headers: Column headers rows: Table row |
| menu | 13 | Display a numbered markdown menu and prompt for selection. Args: title: Men |
| MarkdownRenderer.table | 13 | Render a table with configurable style. Args: headers: Column headers r |
| MarkdownRenderer.render_markdown_with_fences | 12 | Orchestrates 12 calls |
| countdown | 11 | Display a countdown timer. Args: seconds: Number of seconds to count down |
| inspect_obj | 11 | Inspect an object showing its type, methods, and attributes. Args: obj: Obj |
| tree | 11 | Display data in a tree structure. Args: data: Dictionary to display as tree |
| # | Action | Impact | Effort |
|---|---|---|---|
| 1 | Split MarkdownRenderer.table (CC=28 → target CC<10) | high | low |
| 2 | Split god module renderer.py (900L, 1 classes) | high | high |
| 3 | Split god module devtools.py (574L, 2 classes) | high | high |
| 4 | Split god module progress.py (511L, 4 classes) | high | high |
| 5 | Split god module help.py (522L, 0 classes) | high | high |
| 6 | Split menu (CC=15 → target CC<10) | medium | low |
| 7 | Split MarkdownRenderer._highlight_line (CC=21 → target CC<10) | medium | low |
| 8 | Split MarkdownRenderer._highlight_log (CC=20 → target CC<10) | medium | low |
| 9 | Split markdown_to_html (CC=21 → target CC<10) | medium | low |
| 10 | Split _format_debug_value (CC=24 → target CC<10) | medium | low |