apache / incubator-hugegraph

A graph database that supports more than 100+ billion data, high performance and scalability (Include OLTP Engine & REST-API & Backends)
https://hugegraph.apache.org
Apache License 2.0
2.63k stars 517 forks source link

fix: format and clean code in core module #2440

Closed msgui closed 7 months ago

msgui commented 8 months ago

Purpose of the PR

Main Changes

Format & clean code in submodels:

  1. Core

Verifying these changes

Does this PR potentially affect the following parts?

Documentation Status

codecov[bot] commented 8 months ago

Codecov Report

Attention: 124 lines in your changes are missing coverage. Please review.

Comparison is base (7586779) 66.21% compared to head (3061943) 66.21%.

Files Patch % Lines
...ache/hugegraph/backend/store/raft/RaftContext.java 0.00% 10 Missing :warning:
...hugegraph/util/collection/IntMapByDynamicHash.java 53.84% 6 Missing :warning:
...raph/job/algorithm/cent/AbstractCentAlgorithm.java 0.00% 5 Missing :warning:
...g/apache/hugegraph/task/StandardTaskScheduler.java 44.44% 3 Missing and 2 partials :warning:
.../org/apache/hugegraph/variables/HugeVariables.java 0.00% 5 Missing :warning:
.../store/raft/compress/ParallelCompressStrategy.java 0.00% 4 Missing :warning:
...he/hugegraph/backend/tx/GraphIndexTransaction.java 80.00% 4 Missing :warning:
...hugegraph/job/algorithm/comm/LouvainTraverser.java 0.00% 4 Missing :warning:
...pache/hugegraph/job/computer/AbstractComputer.java 0.00% 4 Missing :warning:
...apache/hugegraph/security/HugeSecurityManager.java 33.33% 1 Missing and 3 partials :warning:
... and 48 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2440 +/- ## ============================================ - Coverage 66.21% 66.21% -0.01% Complexity 828 828 ============================================ Files 511 511 Lines 42598 42590 -8 Branches 5942 5939 -3 ============================================ - Hits 28208 28199 -9 + Misses 11582 11578 -4 - Partials 2808 2813 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.