Skip to content

refactor: code style clean up & add qodana_code_quality.yml #1

refactor: code style clean up & add qodana_code_quality.yml

refactor: code style clean up & add qodana_code_quality.yml #1

Triggered via push August 5, 2023 08:16
Status Success
Total duration 10m 37s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 3 notices
Busy wait: Allay-Server/src/main/java/cn/allay/server/utils/GameLoop.java#L61
Call to `Thread.sleep()` in a loop, probably busy-waiting
Cloneable class without 'clone()' method: Allay-Server/src/main/java/cn/allay/server/world/storage/anvil/AnvilRegionFile.java#L26
`AnvilRegionFile` is 'Cloneable' but does not define 'clone()' method
Nullability and data flow problems: Allay-API/src/main/java/cn/allay/api/container/processor/TransferItemActionProcessor.java#L43
Unboxing of `sourItem.getStackNetworkId()` may produce `NullPointerException`
Nullability and data flow problems: Allay-Server/src/main/java/cn/allay/server/scheduler/AllayScheduler.java#L40
Method invocation `getTask` may produce `NullPointerException`
Nullability and data flow problems: Allay-Server/src/main/java/cn/allay/server/client/AllayClient.java#L154
Method invocation `sendContents` may produce `NullPointerException`
Nullability and data flow problems: Allay-API/src/main/java/cn/allay/api/container/processor/TransferItemActionProcessor.java#L35
Method invocation `getItemStack` may produce `NullPointerException`
Nullability and data flow problems: Allay-API/src/main/java/cn/allay/api/container/processor/TransferItemActionProcessor.java#L109
Unboxing of `resultDestItem.getStackNetworkId()` may produce `NullPointerException`
Nullability and data flow problems: Allay-API/src/main/java/cn/allay/api/container/processor/TransferItemActionProcessor.java#L129
Unboxing of `resultSourItem.getStackNetworkId()` may produce `NullPointerException`
Nullability and data flow problems: Allay-API/src/main/java/cn/allay/api/container/processor/DestroyActionProcessor.java#L36
Unboxing of `item.getStackNetworkId()` may produce `NullPointerException`