Skip to content

test: better API aggregators test coverage

c74a154
Select commit
Loading
Failed to load commit list.
Merged

Improve API-related things #24

test: better API aggregators test coverage
c74a154
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 1, 2025 in 1s

75.9% (+5.5%) compared to 706089f

View this Pull Request on Codecov

75.9% (+5.5%) compared to 706089f

Details

Codecov Report

Attention: Patch coverage is 76.65505% with 201 lines in your changes missing coverage. Please review.

Project coverage is 75.9%. Comparing base (706089f) to head (c74a154).

Files with missing lines Patch % Lines
api/src/state/aggregators.rs 79.9% 48 Missing ⚠️
api/src/api.rs 75.2% 32 Missing ⚠️
api/src/state/adaptors.rs 72.3% 31 Missing ⚠️
api/src/articles.rs 59.1% 27 Missing ⚠️
api/src/builders.rs 56.1% 25 Missing ⚠️
src/ledger.rs 86.7% 12 Missing ⚠️
api/src/issuer.rs 86.7% 10 Missing ⚠️
src/state.rs 82.6% 8 Missing ⚠️
api/src/state/arithmetics.rs 0.0% 5 Missing ⚠️
api/src/state/raw.rs 0.0% 2 Missing ⚠️
... and 1 more
Additional details and impacted files
@@           Coverage Diff            @@
##           master     #24     +/-   ##
========================================
+ Coverage    70.4%   75.9%   +5.5%     
========================================
  Files          18      18             
  Lines        1732    2254    +522     
========================================
+ Hits         1219    1711    +492     
- Misses        513     543     +30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.