Skip to content

fix(cli): honor configured cyclomatic thresholds and refine TUI contrast - #48

Merged
endrilickollari merged 1 commit into
mainfrom
fix/cli-complexity-threshold-tui-polish
Sep 28, 2026
Merged

endrilickollari merged 1 commit into
mainfrom
fix/cli-complexity-threshold-tui-polish

Conversation

@endrilickollari

Copy link
Copy Markdown
Owner

Fixes CLI scans that ignored the configured cyclomatic complexity threshold for non-Go languages. Raising the threshold now changes which cyclomatic findings are reported. Cognitive complexity and nesting retain their existing limits; the Settings label and documentation now make that distinction clear.

Refines contrast across the TUI, including the scanning and Settings screens, and fixes the Settings row highlight and long-value layout.

A GitHub release is not required for this PR. A release will be needed when the updated CLI binary or scanner package is ready for distribution.

Type of change

🐛 Bug fix (non-breaking change which fixes an issue)
✨ New feature (non-breaking change which adds functionality)
💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
📝 Documentation update

Checklist

My code follows the style guidelines of this project
I have performed a self-review of my own code
I have added tests that prove my fix is effective
New and existing relevant tests pass locally with my changes
I have updated the documentation accordingly

A new release is not needed for local testing; the binary you just built includes these changes. You would need a release when you want users to install the updated CLI or the SaaS to consume a new version of the scanner package. Since SaaS is currently blocked and pinned to an older version, I’d commit and test the CLI changes first, then release when you’re ready to distribute them.
@debtdrone

debtdrone Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

🛡️ DebtDrone PR Analysis

Metric Status
Project Health F 🔴
Total Issues 180
New Issues 2 ⚠️

🔍 Top New Issues

No technical debt issues were detected in this change. Great job! ✅


View Full Details & AI Remediation on DebtDrone Dashboard


Generated by DebtDrone Automated Scanner

@endrilickollari
endrilickollari merged commit c237021 into main Sep 28, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant