Skip to content

[UPDATE] 提升代码质量 #11

[UPDATE] 提升代码质量

[UPDATE] 提升代码质量 #11

Triggered via push November 29, 2023 14:13
Status Success
Total duration 9m 31s
Artifacts

publish.yml

on: push
Publish to GitHub Packages
9m 20s
Publish to GitHub Packages
Publish to Maven Central
2m 35s
Publish to Maven Central
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 62 warnings, and 42 notices
Class is exposed outside of its visibility scope: central-stdlib/src/main/java/central/net/http/executor/java/JavaResponse.java#L63
Class `ResponseBody` is exposed outside its defined visibility scope
Constant values: central-stdlib/src/main/java/central/net/http/processor/impl/ThrowProcessor.java#L57
Condition `contentType != null` is always `false`
Constant values: central-stdlib/src/main/java/central/sql/builder/OracleBuilder.java#L263
Condition `value == null` is always `true`
Constant values: central-stdlib/src/main/java/central/sql/builder/OracleBuilder.java#L254
Condition `value == null` is always `true`
Infinite loop statement: central-stdlib/src/main/java/central/util/cache/memory/MemoryCacheRepository.java#L69
`while` statement cannot complete without throwing an exception
Infinite loop statement: central-stdlib/src/main/java/central/util/concurrent/ExpiredMap.java#L53
`while` statement cannot complete without throwing an exception
Mismatched query and update of collection: central-stdlib/src/main/java/central/sql/proxy/MapperProxy.java#L163
Contents of collection `params` are updated, but never queried
Mismatched query and update of collection: central-stdlib/src/main/java/central/sql/SqlBatchScript.java#L48
Contents of collection `args` are updated, but never queried
Mismatched query and update of collection: central-stdlib/src/main/java/central/net/http/HttpUrl.java#L72
Contents of collection `query` are updated, but never queried
Mismatched query and update of collection: central-stdlib/src/main/java/central/net/http/HttpUrl.java#L78
Contents of collection `variables` are updated, but never queried
Confusing argument to varargs method: central-stdlib/src/main/java/central/net/http/proxy/contract/spring/resolver/RequestPartResolver.java#L133
Confusing argument `contentType`, unclear if a varargs or non-varargs call is desired
Unused assignment: central-stdlib/src/main/java/central/bean/Page.java#L52
Variable `data` initializer `null` is redundant
Unused assignment: central-stdlib/src/main/java/central/sql/proxy/mapper/FindPageByHandler.java#L59
Variable `orders` initializer `null` is redundant
Unused assignment: central-stdlib/src/main/java/central/bean/Page.java#L56
Variable `pager` initializer `null` is redundant
Unused assignment: central-stdlib/src/main/java/central/util/concurrent/DelayedQueue.java#L179
The value `null` assigned to `first` is never used
Unused assignment: central-stdlib/src/main/java/central/sql/proxy/mapper/FindByIdHandler.java#L54
Variable `id` initializer `null` is redundant
Unused assignment: central-stdlib/src/main/java/central/sql/proxy/mapper/FindByIdsHandler.java#L56
Variable `ids` initializer `null` is redundant
Unused assignment: central-stdlib/src/main/java/central/sql/proxy/mapper/FindFirstByHandler.java#L55
Variable `conditions` initializer `null` is redundant
Unused assignment: central-stdlib/src/main/java/central/util/concurrent/DelayedQueue.java#L123
The value `null` assigned to `first` is never used
Unused assignment: central-stdlib/src/main/java/central/util/concurrent/DelayedQueue.java#L232
The value `null` assigned to `first` is never used
Unused assignment: central-stdlib/src/main/java/central/sql/proxy/mapper/FindByHandler.java#L57
Variable `conditions` initializer `null` is redundant
Unused assignment: central-stdlib/src/main/java/central/sql/proxy/mapper/FindPageByHandler.java#L58
Variable `conditions` initializer `null` is redundant
Constant values: central-stdlib/src/main/java/central/bean/CodeValues.java#L88
Value `originValue` is always 'null'