| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The complexity line showed avg/max cognitive and avg/min MI but only avg cyclomatic, hiding the worst-case cyclomatic outlier that stats -j already exposed. Text and JSON now surface the same fields. docs check acknowledged: internal stats text-output bugfix, no README/CLAUDE.md/ROADMAP surface area changed. Impact: 2 functions changed, 2 affected
Greptile SummaryThe PR adds the already-computed maximum cyclomatic complexity metric to the human-readable codegraph stats summary.
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness or security issues identified. Both native and JavaScript stats paths always provide maximum cyclomatic complexity for nonempty complexity results, and the updated renderer is guarded against absent complexity data. Important Files Changed
Reviews (1): Last reviewed commit: "fix(stats): show max cyclomatic in the t..." | Re-trigger Greptile |
Sorry, something went wrong.
Codegraph Impact Analysis1 functions changed → 2 callers affected across 2 files
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
The human-readable codegraph stats complexity line omitted maxCyclomatic, even though it's computed and present in stats -j. The line was internally inconsistent about which extreme it reports per metric: cognitive gets its max, MI gets its min, but cyclomatic only got its average — so a function at cyclomatic 40 was invisible in the default view while an equivalent cognitive outlier was shown.
Changes
Verification
Closes #2384