Skip to content

PR: Move panics under `must` functions & add a linter

Codecov / codecov/project succeeded Oct 15, 2024 in 0s

80.06% (+0.02%) compared to 4990ff5

View this Pull Request on Codecov

80.06% (+0.02%) compared to 4990ff5

Details

Codecov Report

Attention: Patch coverage is 78.40909% with 19 lines in your changes missing coverage. Please review.

Project coverage is 80.06%. Comparing base (4990ff5) to head (1b8b14e).

Files with missing lines Patch % Lines
http/handler_tx.go 61.90% 6 Missing and 2 partials ⚠️
http/handler_lens.go 0.00% 4 Missing ⚠️
http/handler.go 40.00% 2 Missing and 1 partial ⚠️
http/handler_collection.go 80.00% 2 Missing ⚠️
http/handler_store.go 85.71% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3134      +/-   ##
===========================================
+ Coverage    80.04%   80.06%   +0.02%     
===========================================
  Files          353      353              
  Lines        28406    28421      +15     
===========================================
+ Hits         22737    22755      +18     
  Misses        4060     4060              
+ Partials      1609     1606       -3     
Files with missing lines Coverage Δ
cli/p2p_info.go 100.00% <100.00%> (ø)
cli/purge.go 92.86% <100.00%> (ø)
cli/utils.go 76.84% <100.00%> (+0.50%) ⬆️
http/errors.go 30.43% <ø> (ø)
http/handler_acp.go 91.89% <100.00%> (+6.89%) ⬆️
http/handler_ccip.go 95.38% <100.00%> (ø)
http/handler_extras.go 100.00% <100.00%> (ø)
http/handler_p2p.go 75.29% <100.00%> (ø)
http/middleware.go 79.25% <100.00%> (+5.44%) ⬆️
http/handler_collection.go 73.54% <80.00%> (ø)
... and 4 more

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4990ff5...1b8b14e. Read the comment docs.