• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

corebreaker / stratodb / 28
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: coverage
DEFAULT BRANCH: main
Ran 01 Jul 2026 08:23PM UTC
Jobs 1
Files 83
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jul 2026 08:21PM UTC coverage: 98.265% (+15.2%) from 83.067%
28

Pull #5

circleci

corebreaker
Raise test coverage from ~83% to ~96%

Adds unit and integration tests across both crates, lifting workspace line coverage (cargo llvm-cov --all-features --workspace, the CircleCI methodology) from 80.88% to 96.27% with no changes to production code.

New in-file #[cfg(test)] modules cover the previously-untested pure and near-pure surface: the dynamic Value accessors, Scalar/Skey/SValue conversions, the engine codecs (TableKey/TableValue/MemNodes ordering and roundtrips), bootstrap_metadata's version checks, NodeKind, codec::Reader bounds, the ordered index codec for every integer width, and the SPath last/parent/Debug/DivAssign helpers.

New integration tests (coverage_paths.rs, error_paths.rs, plus additions to containers/foundation/derive) exercise the packed-entity read-modify-write path, index recompose, rooted views, and the tree's kind/range guards reachable through the public API.

Three techniques unlocked regions that resist ordinary tests: a generic fn exercise<R: Reader>(r: &R) whose opaque R forces dispatch through the Box/Arc<dyn Reader/Writer> forwarding impls that a concrete-pointer call derefs past; deliberate mutex poisoning to reach the CannotAccess error closures in PathCache/DbInner; and calling the proc-macro's internal functions with invalid syn input so their Err returns (which only surface as compile_error! at the entry point) execute under instrumentation, covering nearly all of stratodb-derive's error paths.

The remaining ~3.7% is defensive code that is unreachable in correct operation — Corrupt/missing-node/wrong-kind guards the API pre-validates, and a few unreachable!() panics — so it would need fault injection to exercise.

The full gate stays green: cargo test --all-features --all-targets, doctests, clippy (default/derive/all-features/bignum-as-data), and cargo +nightly fmt --check all pass.
Pull Request #5: Raise test coverage from ~83% to ~96%

897 of 897 new or added lines in 26 files covered. (100.0%)

6968 of 7091 relevant lines covered (98.27%)

440316.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28.1 01 Jul 2026 08:23PM UTC 83
98.27
CircleCI Job
Source Files on build 28
  • Tree
  • List 83
  • Changed 53
  • Source Changed 26
  • Coverage Changed 53
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #28
  • Pull Request #5
  • PR Base - main (#25)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc