Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Add some test coverage

870c26a
Select commit
Loading
Failed to load commit list.
Open

Refactor API handler wrapping #7926

Add some test coverage
870c26a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 17, 2025 in 1s

32.06% (+2.97%) compared to 3d933d0

View this Pull Request on Codecov

32.06% (+2.97%) compared to 3d933d0

Details

Codecov Report

❌ Patch coverage is 19.81982% with 267 lines in your changes missing coverage. Please review.
✅ Project coverage is 32.06%. Comparing base (3d933d0) to head (870c26a).
⚠️ Report is 145 commits behind head on master.

Files with missing lines Patch % Lines
traffic_ops/traffic_ops_golang/server/servers.go 7.95% 240 Missing and 3 partials ⚠️
...traffic_ops_golang/cdnfederation/cdnfederations.go 17.24% 24 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7926      +/-   ##
============================================
+ Coverage     29.09%   32.06%   +2.97%     
  Complexity       98       98              
============================================
  Files           605      722     +117     
  Lines         77535    82925    +5390     
  Branches         90      970     +880     
============================================
+ Hits          22558    26590    +4032     
- Misses        52894    54183    +1289     
- Partials       2083     2152      +69     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.