apache / incubator-hugegraph-commons

(Archived Warning)Please visit "apache/hugegraph" repo instead
https://github.com/apache/hugegraph/tree/master/hugegraph-commons
Apache License 2.0
29 stars 45 forks source link

fix iterators may not be closed #43

Closed javeme closed 4 years ago

javeme commented 4 years ago

Change-Id: I3709d96fd2114fa782d6f28f8853b32d65fbd22b

codecov[bot] commented 4 years ago

Codecov Report

Merging #43 into master will increase coverage by 0.45%. The diff coverage is 83.15%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #43      +/-   ##
============================================
+ Coverage     80.72%   81.17%   +0.45%     
- Complexity      620      650      +30     
============================================
  Files            55       56       +1     
  Lines          1914     1981      +67     
  Branches        281      291      +10     
============================================
+ Hits           1545     1608      +63     
+ Misses          253      249       -4     
- Partials        116      124       +8
Impacted Files Coverage Δ Complexity Δ
...a/com/baidu/hugegraph/iterator/MapperIterator.java 86.66% <ø> (ø) 6 <0> (ø) :arrow_down:
...ava/com/baidu/hugegraph/version/CommonVersion.java 50% <ø> (ø) 1 <0> (ø) :arrow_down:
...u/hugegraph/iterator/FlatMapperFilterIterator.java 78.57% <100%> (ø) 5 <3> (ø) :arrow_down:
...m/baidu/hugegraph/iterator/ExtendableIterator.java 81.57% <100%> (+0.18%) 15 <0> (-1) :arrow_down:
.../com/baidu/hugegraph/iterator/WrappedIterator.java 79.41% <66.66%> (-2.74%) 13 <2> (+2)
.../baidu/hugegraph/iterator/BatchMapperIterator.java 80% <80%> (ø) 16 <16> (?)
...ava/com/baidu/hugegraph/iterator/ListIterator.java 81.48% <81.48%> (ø) 10 <10> (?)
...m/baidu/hugegraph/iterator/FlatMapperIterator.java 85.71% <94.11%> (+4.23%) 14 <11> (+3) :arrow_up:
.../main/java/com/baidu/hugegraph/perf/Stopwatch.java 85.71% <0%> (-2.05%) 20% <0%> (-1%)
... and 2 more

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 24b8a33...e206849. Read the comment docs.