Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: format and clean code in core module #2440

Merged
merged 4 commits into from
Feb 20, 2024

format&clean 62 files in core

3061943
Select commit
Loading
Failed to load commit list.
Merged

fix: format and clean code in core module #2440

format&clean 62 files in core
3061943
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Feb 19, 2024 in 0s

61.12% of diff hit (target 66.21%)

View this Pull Request on Codecov

61.12% of diff hit (target 66.21%)

Annotations

Check warning on line 592 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/StandardHugeGraph.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/StandardHugeGraph.java#L591-L592

Added lines #L591 - L592 were not covered by tests

Check warning on line 99 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/HugeBelong.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/HugeBelong.java#L99

Added line #L99 was not covered by tests

Check warning on line 121 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/OffheapCache.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/OffheapCache.java#L121

Added line #L121 was not covered by tests

Check warning on line 342 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/RamCache.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/RamCache.java#L342

Added line #L342 was not covered by tests

Check warning on line 117 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/id/SnowflakeIdGenerator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/id/SnowflakeIdGenerator.java#L117

Added line #L117 was not covered by tests

Check warning on line 122 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/id/SnowflakeIdGenerator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/id/SnowflakeIdGenerator.java#L122

Added line #L122 was not covered by tests

Check warning on line 225 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/query/Condition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/query/Condition.java#L224-L225

Added lines #L224 - L225 were not covered by tests

Check warning on line 579 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/query/Query.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/query/Query.java#L579

Added line #L579 was not covered by tests

Check warning on line 168 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/serializer/TextBackendEntry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/serializer/TextBackendEntry.java#L168

Added line #L168 was not covered by tests

Check warning on line 72 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/AbstractBackendStore.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/AbstractBackendStore.java#L72

Added line #L72 was not covered by tests

Check warning on line 152 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftBackendStore.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftBackendStore.java#L152

Added line #L152 was not covered by tests

Check warning on line 158 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftBackendStore.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftBackendStore.java#L158

Added line #L158 was not covered by tests

Check warning on line 236 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java#L236

Added line #L236 was not covered by tests

Check warning on line 238 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java#L238

Added line #L238 was not covered by tests

Check warning on line 240 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java#L240

Added line #L240 was not covered by tests

Check warning on line 242 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java#L242

Added line #L242 was not covered by tests

Check warning on line 272 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java#L272

Added line #L272 was not covered by tests

Check warning on line 274 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java#L274

Added line #L274 was not covered by tests

Check warning on line 276 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java#L276

Added line #L276 was not covered by tests

Check warning on line 280 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java#L279-L280

Added lines #L279 - L280 were not covered by tests

Check warning on line 387 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftContext.java#L387

Added line #L387 was not covered by tests

Check warning on line 89 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftGroupManagerImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftGroupManagerImpl.java#L89

Added line #L89 was not covered by tests

Check warning on line 193 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftNode.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftNode.java#L193

Added line #L193 was not covered by tests

Check warning on line 223 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftNode.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/RaftNode.java#L223

Added line #L223 was not covered by tests

Check warning on line 60 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/compress/CompressStrategyManager.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/raft/compress/CompressStrategyManager.java#L59-L60

Added lines #L59 - L60 were not covered by tests