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.58k stars 512 forks source link

fix: format and clean code in modules #2439

Closed msgui closed 4 months ago

msgui commented 5 months ago

Purpose of the PR

Main Changes

Format & clean code in submodels:

  1. API
  2. Scylladb
  3. Postgresql
  4. Rocksdb
  5. Palo
  6. Mysql
  7. Hbase
  8. Cassandra
  9. Test

Verifying these changes

Does this PR potentially affect the following parts?

Documentation Status

codecov[bot] commented 5 months ago

Codecov Report

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

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

Files Patch % Lines
...n/java/org/apache/hugegraph/api/graph/EdgeAPI.java 58.62% 7 Missing and 5 partials :warning:
...java/org/apache/hugegraph/api/graph/VertexAPI.java 9.09% 9 Missing and 1 partial :warning:
.../org/apache/hugegraph/opencypher/CypherPlugin.java 0.00% 8 Missing :warning:
...egraph/backend/store/cassandra/CassandraShard.java 37.50% 5 Missing :warning:
...egraph/backend/store/cassandra/CassandraStore.java 50.00% 4 Missing and 1 partial :warning:
.../java/org/apache/hugegraph/api/graph/BatchAPI.java 33.33% 4 Missing :warning:
.../apache/hugegraph/api/filter/LoadDetectFilter.java 25.00% 3 Missing :warning:
...ain/java/org/apache/hugegraph/api/job/TaskAPI.java 0.00% 3 Missing :warning:
...egraph/backend/store/cassandra/CassandraTable.java 62.50% 1 Missing and 2 partials :warning:
...raph/backend/store/rocksdb/RocksDBStdSessions.java 81.25% 3 Missing :warning:
... and 16 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2439 +/- ## ============================================ + Coverage 66.21% 66.23% +0.01% + Complexity 828 827 -1 ============================================ Files 511 511 Lines 42598 42594 -4 Branches 5942 5938 -4 ============================================ + Hits 28208 28212 +4 + Misses 11582 11576 -6 + Partials 2808 2806 -2 ```

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