Skip to content

Fix out of bounds exception

1f39686
Select commit
Loading
Failed to load commit list.
Merged

Improve Quota Statement #10506

Fix out of bounds exception
1f39686
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 27, 2026 in 1s

18.02% (+0.01%) compared to 3166e64

View this Pull Request on Codecov

18.02% (+0.01%) compared to 3166e64

Details

Codecov Report

❌ Patch coverage is 21.37592% with 320 lines in your changes missing coverage. Please review.
✅ Project coverage is 18.02%. Comparing base (3166e64) to head (1f39686).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...udstack/api/response/QuotaResponseBuilderImpl.java 31.61% 105 Missing and 1 partial ⚠️
...g/apache/cloudstack/quota/vo/QuotaUsageJoinVO.java 27.90% 62 Missing ⚠️
...he/cloudstack/quota/dao/QuotaUsageJoinDaoImpl.java 0.00% 37 Missing ⚠️
...apache/cloudstack/quota/vo/QuotaTariffUsageVO.java 0.00% 31 Missing ⚠️
...ache/cloudstack/quota/vo/QuotaUsageResourceVO.java 0.00% 27 Missing ⚠️
...ache/cloudstack/api/command/QuotaStatementCmd.java 15.78% 16 Missing ⚠️
.../cloudstack/quota/dao/QuotaTariffUsageDaoImpl.java 0.00% 15 Missing ⚠️
...i/response/QuotaStatementItemResourceResponse.java 0.00% 13 Missing ⚠️
...loudstack/api/response/QuotaStatementResponse.java 36.36% 7 Missing ⚠️
...c/main/java/com/cloud/utils/db/SearchCriteria.java 0.00% 4 Missing ⚠️
... and 1 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #10506      +/-   ##
============================================
+ Coverage     18.01%   18.02%   +0.01%     
- Complexity    16607    16628      +21     
============================================
  Files          6029     6035       +6     
  Lines        542160   542444     +284     
  Branches      66451    66473      +22     
============================================
+ Hits          97682    97790     +108     
- Misses       433461   433642     +181     
+ Partials      11017    11012       -5     

☔ 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.