[Backport 2.x] Add rule validation in AnomalyDetector constructor #1342
Codecov / codecov/project
succeeded
Oct 18, 2024 in 1s
80.06% (+0.17%) compared to d6758c6
View this Pull Request on Codecov
80.06% (+0.17%) compared to d6758c6
Details
Codecov Report
Attention: Patch coverage is 94.54545%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 80.06%. Comparing base (
d6758c6
) to head (f9964ac
).
Additional details and impacted files
@@ Coverage Diff @@
## 2.x #1342 +/- ##
============================================
+ Coverage 79.89% 80.06% +0.17%
- Complexity 5654 5674 +20
============================================
Files 533 533
Lines 23411 23430 +19
Branches 2323 2335 +12
============================================
+ Hits 18704 18760 +56
+ Misses 3608 3562 -46
- Partials 1099 1108 +9
Files with missing lines | Coverage Δ | |
---|---|---|
...main/java/org/opensearch/ad/ml/ADModelManager.java | 79.25% <ø> (+3.15%) |
⬆️ |
...ch/timeseries/ml/MemoryAwareConcurrentHashmap.java | 84.61% <ø> (+53.18%) |
⬆️ |
...ensearch/timeseries/model/ValidationIssueType.java | 100.00% <100.00%> (ø) |
|
...imeseries/transport/SuggestConfigParamRequest.java | 92.59% <75.00%> (+54.13%) |
⬆️ |
.../java/org/opensearch/ad/model/AnomalyDetector.java | 88.99% <95.91%> (+2.65%) |
⬆️ |
Loading