Skip to content

Refactor: Modularize ApiResponseHelper#createUsageResponse#13490

Open
PrashantBhanage wants to merge 6 commits into
apache:mainfrom
PrashantBhanage:fix-11635-refactor-usage
Open

Refactor: Modularize ApiResponseHelper#createUsageResponse#13490
PrashantBhanage wants to merge 6 commits into
apache:mainfrom
PrashantBhanage:fix-11635-refactor-usage

test: Fix populateIpAddressUsageResponseTest after Copilot refactor

6c3b597
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 6, 2026 in 0s

20.18% (+1.24%) compared to 06aebb6

View this Pull Request on Codecov

20.18% (+1.24%) compared to 06aebb6

Details

Codecov Report

❌ Patch coverage is 48.94614% with 218 lines in your changes missing coverage. Please review.
✅ Project coverage is 20.18%. Comparing base (06aebb6) to head (6c3b597).
⚠️ Report is 43 commits behind head on main.

Files with missing lines Patch % Lines
...src/main/java/com/cloud/api/ApiResponseHelper.java 48.94% 138 Missing and 80 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #13490      +/-   ##
============================================
+ Coverage     18.94%   20.18%   +1.24%     
- Complexity    18366    18504     +138     
============================================
  Files          6192     5751     -441     
  Lines        556361   519507   -36854     
  Branches      67908    60633    -7275     
============================================
- Hits         105407   104876     -531     
+ Misses       439383   403132   -36251     
+ Partials      11571    11499      -72     

☔ View full report in Codecov by Harness.
📢 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.