TouK / sputnik

Static code review for your Gerrit patchsets. Runs Checkstyle, PMD, FindBugs, Scalastyle, CodeNarc, JSLint for you!
Apache License 2.0
200 stars 118 forks source link

Review: adding a decrement function for totalViolation #212

Closed zhang3r closed 4 years ago

zhang3r commented 4 years ago

Adding a decrement function for totalViolation to accurately track totalviolations when violations is being ignored.

codecov-io commented 4 years ago

Codecov Report

Merging #212 into master will decrease coverage by 0.09%. The diff coverage is 25%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master     #212     +/-   ##
===========================================
- Coverage     73.61%   73.51%   -0.1%     
  Complexity      613      613             
===========================================
  Files           145      145             
  Lines          1952     1956      +4     
  Branches        128      128             
===========================================
+ Hits           1437     1438      +1     
- Misses          457      460      +3     
  Partials         58       58
Impacted Files Coverage Δ Complexity Δ
src/main/java/pl/touk/sputnik/review/Review.java 60.46% <0%> (-4.54%) 12 <0> (ø)
...k/engine/visitor/comment/GerritCommentVisitor.java 100% <100%> (ø) 9 <0> (ø) :arrow_down:

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 33e9395...f4a4cf4. Read the comment docs.