Skip to content

chore: disable the code-gauge test volume limit - #130

Merged
exKAZUu merged 1 commit into
mainfrom
chore/disable-test-share-limit
Nov 22, 2026
Merged

exKAZUu merged 1 commit into
mainfrom
chore/disable-test-share-limit

Conversation

@exKAZUu

@exKAZUu exKAZUu commented Nov 22, 2026

Copy link
Copy Markdown
Member

Why

Broad regression suites are part of this project's design. Test volume alone should not produce a code-gauge finding.

Requirements

  • required: disable code-gauge's test-volume limit for this repository.
  • required: update wb and its code-gauge dependency to the latest releases.

Customer Summary

Code-gauge no longer reports the ratio of test code to production code in this repository.

Technical Summary

Set rules.testNcssPercent to "off" in code-gauge.config.json and use wb 23.6.1 with code-gauge 12.0.0.

Testing

  • bun run verify passed.

Notes

The metrics report includes these error-level findings. The migration leaves source behavior intact.

  • src/scanner.c: file ncss 1543 (max 1000)
  • src/scanner.c:877-989 scan_literal_start_or_assignment: function cognitive complexity 50 (max 30; largest parts L906-926 14, L978-983 8, L955-964 6), function ncss 77 (max 60)
  • src/scanner.c:1229-1354 scan_literal_content: function cognitive complexity 111 (max 30; largest parts L1294-1311 26, L1245-1265 17, L1266-1277 13), function ncss 99 (max 60)
  • src/scanner.c:1356-1605 scan: function cognitive complexity 137 (max 30; largest parts L1555-1602 31, L1471-1492 20, L1420-1437 18), function ncss 162 (max 60)

Co-authored-by: WillBooster (Codex) <agent@willbooster.com>
@exKAZUu exKAZUu self-assigned this Nov 22, 2026
@exKAZUu
exKAZUu merged commit 2bf7cd1 into main Nov 22, 2026
13 of 14 checks passed
@exKAZUu
exKAZUu deleted the chore/disable-test-share-limit branch November 22, 2026 06:40
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