Skip to content

Improve CodeCoverage above 80% for timpani-o and timpani-n #132

Description

@LGSI-KarumuriHari

📝 Task Description

The project has migrated from the old coverage engine to the new LLVM-based engine in cargo-tarpaulin 0.32.7. This transition has revealed that actual code coverage is lower than previously reported:

Coverage Comparison:

  • Old Engine (deprecated): ~85% coverage for both modules
  • New LLVM Engine (current): ~72% coverage for both modules
  • Target: ≥80% coverage per module

This task focuses on:

  1. Adapting to the LLVM engine's more accurate coverage measurement
  2. Improving test coverage for timpani-o (Rust orchestrator)
  3. Improving test coverage for timpani-n (Rust node executor)

Current Status (LLVM Engine):

  • timpani-o: ~72% coverage (needs +8%)
  • timpani-n: ~72% coverage (needs +8%)

Testing and CI Integration Check

Ensure GitHub Actions pipeline runs:

./scripts/test_coverage.sh
# Should report ≥80% for both modules

📊 Acceptance Criteria

  • timpani-o achieves ≥80% code coverage (LLVM engine)
  • timpani-n achieves ≥80% code coverage (LLVM engine)
  • All new tests pass locally and in CI
  • HTML coverage reports document improved coverage
  • Two separate PRs submitted and merged
  • CI pipeline consistently reports ≥80% coverage

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions