refactor: Split LoanInvariant into LoanBrokerInvariant and LoanInvariant #6674
+250
−229
Codecov / codecov/project
succeeded
Mar 27, 2026 in 0s
81.5% (target 75.0%)
View this Pull Request on Codecov
81.5% (target 75.0%)
Details
Codecov Report
❌ Patch coverage is 91.25000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.5%. Comparing base (509677a) to head (1776f1f).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/libxrpl/tx/invariants/LoanBrokerInvariant.cpp | 91.2% | 7 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## develop #6674 +/- ##
=======================================
Coverage 81.5% 81.5%
=======================================
Files 998 999 +1
Lines 74456 74456
Branches 7578 7555 -23
=======================================
+ Hits 60648 60652 +4
+ Misses 13808 13804 -4 | Files with missing lines | Coverage Δ | |
|---|---|---|
| include/xrpl/tx/invariants/InvariantCheck.h | 100.0% <ø> (ø) |
|
| src/libxrpl/tx/invariants/LoanInvariant.cpp | 63.6% <ø> (-19.5%) |
⬇️ |
| src/libxrpl/tx/invariants/LoanBrokerInvariant.cpp | 91.2% <91.2%> (ø) |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading