FIX: Avoid potential division by zero in FilterDecimateAdaptive #48
Codecov / codecov/project
succeeded
Mar 5, 2026 in 1s
78.59% (-0.01%) compared to 2956344, passed because coverage increased by 0% when compared to adjusted base (78.60%)
View this Pull Request on Codecov
78.59% (-0.01%) compared to 2956344, passed because coverage increased by 0% when compared to adjusted base (78.60%)
Details
Codecov Report
❌ Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.59%. Comparing base (2956344) to head (8bcb772).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| mp2p_icp_filters/src/FilterDecimateAdaptive.cpp | 71.42% | 2 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## develop #48 +/- ##
===========================================
- Coverage 78.60% 78.59% -0.01%
===========================================
Files 190 190
Lines 10564 10569 +5
Branches 979 980 +1
===========================================
+ Hits 8304 8307 +3
- Misses 2260 2262 +2 | Files with missing lines | Coverage Δ | |
|---|---|---|
| mp2p_icp_filters/src/FilterDecimateAdaptive.cpp | 91.01% <71.42%> (-1.85%) |
⬇️ |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading