Analyzed 2026-03-07 by code2llm
Run analysis multiple times to build a trend chart (≥3 data points needed).
| Severity | Target | Type | Value | Limit |
|---|---|---|---|---|
| error | check_untracked_files | high_fan_out | 18 | 10 |
| error | check_file_drift | high_fan_out | 16 | 10 |
| error | main | high_fan_out | 15 | 10 |
| warning | check_all | high_fan_out | 12 | 10 |
| warning | scan_deploy_dir | high_fan_out | 12 | 10 |
| warning | check_placeholders | high_fan_out | 10 | 10 |
| warning | cmd_fix | high_fan_out | 10 | 10 |
| warning | check_http_endpoint | high_fan_out | 10 | 10 |
| Function | Fan-out | Note |
|---|---|---|
| check_untracked_files | 18 | Find files in extracted_dir not tracked by any markpact:file block. Args: r |
| check_file_drift | 16 | Compare markpact:file blocks in README against files on disk. Reports: - DRIFTE |
| main | 15 | Main CLI entry point. |
| check_all | 12 | Run all infrastructure checks on a remote host. Args: ctx: SSH connection c |
| scan_deploy_dir | 12 | Scan a deploy directory for all common issues. Combines check_unresolved_vars + |
| check_placeholders | 10 | Detect placeholder values in deploy files (example.com, changeme, your-*). Args |
| cmd_fix | 10 | Apply fixes for detected issues. |
| check_http_endpoint | 10 | Check HTTP endpoint health. Args: name: Service name for display. url: |
| # | Action | Impact | Effort |
|---|---|---|---|
| 1 | Reduce check_untracked_files fan-out (currently 18) | medium | medium |
| 2 | Reduce check_file_drift fan-out (currently 16) | medium | medium |
| 3 | Reduce main fan-out (currently 15) | medium | medium |