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

add PerfUtil.clear()/Bytes.concat()/CollectionUtil.randomSet() #16

Closed javeme closed 5 years ago

javeme commented 5 years ago

Change-Id: Ida64154a0bdee62e281585836c5e7ccfc6061c06

codecov[bot] commented 5 years ago

Codecov Report

Merging #16 into master will increase coverage by 30.91%. The diff coverage is 89.18%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #16       +/-   ##
============================================
+ Coverage     31.39%   62.3%   +30.91%     
- Complexity      192     347      +155     
============================================
  Files            43      43               
  Lines          1360    1377       +17     
  Branches        210     213        +3     
============================================
+ Hits            427     858      +431     
+ Misses          878     420      -458     
- Partials         55      99       +44
Impacted Files Coverage Δ Complexity Δ
...ava/com/baidu/hugegraph/version/CommonVersion.java 50% <ø> (ø) 1 <0> (ø) :arrow_down:
src/main/java/com/baidu/hugegraph/util/Bytes.java 84.21% <100%> (+4.21%) 10 <1> (+1) :arrow_up:
...c/main/java/com/baidu/hugegraph/perf/PerfUtil.java 92.02% <100%> (+92.02%) 35 <8> (+35) :arrow_up:
.../java/com/baidu/hugegraph/util/CollectionUtil.java 83.14% <100%> (+1.43%) 27 <5> (+5) :arrow_up:
...ain/java/com/baidu/hugegraph/util/NumericUtil.java 78.72% <100%> (+31.91%) 47 <2> (+16) :arrow_up:
...in/java/com/baidu/hugegraph/testutil/Whitebox.java 48% <100%> (+48%) 4 <1> (+4) :arrow_up:
.../java/com/baidu/hugegraph/util/ReflectionUtil.java 94.44% <100%> (+94.44%) 19 <0> (+19) :arrow_up:
...in/java/com/baidu/hugegraph/config/HugeConfig.java 77.27% <63.63%> (+77.27%) 16 <3> (+16) :arrow_up:
.../main/java/com/baidu/hugegraph/event/EventHub.java 81.69% <0%> (-1.41%) 26% <0%> (-1%)
src/main/java/com/baidu/hugegraph/util/E.java 60% <0%> (+13.33%) 5% <0%> (+1%) :arrow_up:
... and 12 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 5bac575...99bd356. Read the comment docs.