Skip to content

add more test cases to cover indexer

Codecov / codecov/project succeeded Nov 22, 2024 in 1s

42.91% (+2.22%) compared to 9bcc1da

View this Pull Request on Codecov

42.91% (+2.22%) compared to 9bcc1da

Details

Codecov Report

Attention: Patch coverage is 64.70588% with 6 lines in your changes missing coverage. Please review.

Project coverage is 42.91%. Comparing base (9bcc1da) to head (de36cfd).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
app/app.go 0.00% 3 Missing ⚠️
indexer/indexer.go 33.33% 2 Missing ⚠️
jsonrpc/backend/tx.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #115      +/-   ##
==========================================
+ Coverage   40.68%   42.91%   +2.22%     
==========================================
  Files         108      108              
  Lines        9970     9981      +11     
==========================================
+ Hits         4056     4283     +227     
+ Misses       5336     5092     -244     
- Partials      578      606      +28     
Files with missing lines Coverage Δ
app/indexer.go 40.90% <100.00%> (ø)
app/test_helpers.go 81.44% <100.00%> (+1.44%) ⬆️
indexer/reader.go 61.70% <100.00%> (+61.70%) ⬆️
jsonrpc/backend/tx.go 0.00% <0.00%> (ø)
indexer/indexer.go 85.13% <33.33%> (+85.13%) ⬆️
app/app.go 54.83% <0.00%> (-0.49%) ⬇️

... and 6 files with indirect coverage changes

---- 🚨 Try these New Features: