Skip to content

Raise code coverage from 48.6% to 68.0%#5

Merged
drompincen merged 1 commit intomainfrom
feature/claude-companion-features
Mar 29, 2026
Merged

Raise code coverage from 48.6% to 68.0%#5
drompincen merged 1 commit intomainfrom
feature/claude-companion-features

Conversation

@drompincen
Copy link
Copy Markdown
Owner

Summary

  • Closed-loop coverage campaign: 2 iterations, 190 new tests (186 → 376 total)
  • Instruction coverage: 48.6% → 68.0% (target was 65%)
  • Branch coverage: 45.9% → 56.3%

Iteration 1 (48.6% → 58.1%)

  • DB-backed integration tests for ExplainService, StalenessService, DependencyService, CoChangeService, ProjectMapService
  • New test files for HnswIndex (10 tests) and ImportParser (18 tests)

Iteration 2 (58.1% → 68.0%)

  • TextExtractor: 53 new tests covering all file type branches (ODF, EPUB, EML, ZIP, HTML)
  • RestController: 41 new tests covering content intelligence, watch, staleness, reladomo endpoints
  • ReladomoQueryService: 18 new tests for graph, path, schema, config, temporal queries
  • IngestionWorker: 12 new tests for full ingestion pipeline
  • FileWatcher: 11 new tests including file detection and extension filtering

Test plan

  • 376 tests passing, 0 failures
  • mvn verify green with JaCoCo report
  • No production code changes — tests only

🤖 Generated with Claude Code

Closed-loop coverage campaign: 2 iterations, 190 new tests (186 → 376 total).

Iteration 1 (48.6% → 58.1%): DB-backed integration tests for ExplainService,
StalenessService, DependencyService, CoChangeService, ProjectMapService,
HnswIndex, and ImportParser.

Iteration 2 (58.1% → 68.0%): TextExtractor (54→75%), RestController (53→70%),
ReladomoQueryService (45→65%), IngestionWorker (56→70%), FileWatcher (5→40%).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@drompincen drompincen merged commit 44bc685 into main Mar 29, 2026
1 check 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