Closed kapilkalra04 closed 6 years ago
Merging #176 into dev will increase coverage by
1.85%
. The diff coverage is45.71%
.
@@ Coverage Diff @@
## dev #176 +/- ##
==========================================
+ Coverage 57.57% 59.43% +1.85%
==========================================
Files 47 48 +1
Lines 1261 1267 +6
Branches 103 103
==========================================
+ Hits 726 753 +27
+ Misses 512 487 -25
- Partials 23 27 +4
Impacted Files | Coverage Δ | |
---|---|---|
...r/persistence/repository/SaveRepositoryConfig.java | 0% <0%> (ø) |
|
...nalyzer/persistence/repository/SaveRepository.java | 87.75% <80%> (+51.54%) |
:arrow_up: |
...rotocolanalyzer/analyzer/network/IPv4Analyzer.java | 94.87% <0%> (-1.29%) |
:arrow_down: |
...tocolanalyzer/analyzer/event/BucketLimitEvent.java | 75% <0%> (+75%) |
:arrow_up: |
...tocolanalyzer/analyzer/event/SaveRepoEndEvent.java | 75% <0%> (+75%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update c7c8f50...2578889. Read the comment docs.
@kapilkalra04 please resolve the. Codeclimate issues.
@kapilkalra04 please fix the code climate issues.
@adityaketkar please complete the review of this PR at the earliest. Thanks.
@kapilkalra04 the coverage for SaveRepository.java is almost complete with the latest commit, but shouldn't the tests cover SaveRepositoryConfig.java? Also, there is a minor codeclimate issue that needs to be addressed.
@adityaketkar and @kapilkalra04 There is no need to write tests for config classes. The ElasticSearchConfig was different. For the usual spring config classes, we don't need tests.
Regarding the code-climate issue, it's wrongly showing up and hence it was decided to ignore that 1 issue.
Description
Motivation
Improves code coverage and testability of the code
Types of changes
Checks
Fixes #<issue number>
if relevantNotify reviewers
@prasadtalasila