test(coverage): boost line coverage to 80.7% (+762 tests, exclude grammar from JaCoCo)#33
Merged
Conversation
…tector tests Replace 11-line stub test files with comprehensive test suites across 13 detector test classes. Each class now has 12-18 tests covering positive match, edge/node properties, no-match/empty/null guard paths, supported-language/name meta checks, and determinism. Total test count grows from ~1620 to 1836 (+216 new tests). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ward 70%+ Rewrote and expanded all 13 TypeScript detector test files, adding ~1,600 lines of new tests covering happy paths, negative paths, edge cases, and determinism for every detector in the typescript package. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add 203 new targeted unit tests to boost SonarCloud coverage across frontend detectors (React, Vue, Angular, Svelte, FrontendRoute), C# detectors (EfCore, MinimalApis, Structures), auth detectors (Certificate, LDAP, SessionHeader), analyzer linkers (GuardLinker, EntityLinker, ModuleContainmentLinker, TopicLinker), cache (AnalysisCache, FileHasher), and intelligence/query (QueryPlanner, CapabilityMatrix, QueryPlan record). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…erage Add JavaDetectorsCoverageTest with 120+ tests covering deeper branches across all 27 Java detectors: null/empty guards, multiple topic/queue detection, relationship types, JDBC URL variants, SQL source types, WebSocket/STOMP patterns, gRPC stub/impl combos, RMI bind/lookup, and more. Add ModelCoverageTest with comprehensive coverage of CodeNode, CodeEdge, NodeKind (32 values), EdgeKind (27 values) including round-trip fromValue(), equality, hashCode, toString, provenance, and integration tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…cluded in sonar.exclusions)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
sonar.exclusions)Coverage by workstream
JaCoCo exclusion fix
Added
<excludes><exclude>io/github/randomcodespace/iq/grammar/**</exclude></excludes>to JaCoCo plugin config inpom.xml. The grammar package (ANTLR-generated parsers, ~70K lines) was already excluded from SonarCloud viasonar.exclusions=**/grammar/**but was incorrectly counted in local JaCoCo reports.Test plan
🤖 Generated with Claude Code