Instancing Rework #510
Instancing Rework #510
20486 new problems found by Qodana for JVM
Qodana for JVM
53 new problems were found
Inspection name | Severity | Problems |
---|---|---|
@NotNull/@Nullable problems |
๐ถ Warning | 21 |
Unused import |
๐ถ Warning | 19 |
Auto-boxing |
๐ถ Warning | 6 |
Unchecked warning |
๐ถ Warning | 2 |
Constant values |
๐ถ Warning | 1 |
Nullability and data flow problems |
๐ถ Warning | 1 |
Unnecessary 'return' statement |
๐ถ Warning | 1 |
Commented out code |
โฝ๏ธ Notice | 1 |
Duplicated code fragment |
โฝ๏ธ Notice | 1 |
๐ก Qodana analysis was run in the pull request mode: only the changed files were checked
โ๏ธ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 36 in src/main/java/com/paneedah/mwc/handlers/DebugHandler.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `MWC.modContext.getPlayerItemInstanceRegistry().getCacheSize()`
Check warning on line 52 in src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `2 + 3 * MC.gameSettings.gammaSetting`
Check warning on line 51 in src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `40 - MC.gameSettings.gammaSetting * 38`
Check warning on line 47 in src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `hasOpticalScope() ? 10 : 5`
Check warning on line 281 in src/main/java/com/paneedah/weaponlib/PlayerItemInstanceRegistry.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `entry.getIntKey()`
Check warning on line 55 in src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `getOpticalScopeVignetteRadius(context.getPartialTicks())`
Check notice on line 309 in src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java
github-actions / Qodana for JVM
Commented out code
Commented out code (5 lines)
Check warning on line 247 in src/main/java/com/paneedah/weaponlib/ClientEventHandler.java
github-actions / Qodana for JVM
Constant values
Condition `mainHandHeldWeaponInstance != null` is always `true`
github-actions / Qodana for JVM
Nullability and data flow problems
Method invocation `getClass` may produce `NullPointerException`
Check notice on line 189 in src/main/java/com/paneedah/weaponlib/WeaponAttachmentAspect.java
github-actions / Qodana for JVM
Duplicated code fragment
Duplicated code
Check warning on line 25 in src/main/java/com/paneedah/mwc/commands/client/ClientCommandBase.java
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @ParametersAreNonnullByDefault parameter
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated method overrides method annotated with @MethodsReturnNonnullByDefault
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @ParametersAreNonnullByDefault parameter
Check warning on line 25 in src/main/java/com/paneedah/mwc/commands/client/ClientCommandBase.java
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @ParametersAreNonnullByDefault parameter
Check warning on line 32 in src/main/java/com/paneedah/mwc/commands/MWCCommand.java
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated method overrides method annotated with @MethodsReturnNonnullByDefault
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated method overrides method annotated with @MethodsReturnNonnullByDefault
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated method overrides method annotated with @MethodsReturnNonnullByDefault
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @ParametersAreNonnullByDefault parameter
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @ParametersAreNonnullByDefault parameter
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @ParametersAreNonnullByDefault parameter
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @ParametersAreNonnullByDefault parameter
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @ParametersAreNonnullByDefault parameter
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated method overrides method annotated with @MethodsReturnNonnullByDefault
Check warning on line 37 in src/main/java/com/paneedah/mwc/commands/MWCCommand.java
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated method overrides method annotated with @MethodsReturnNonnullByDefault
github-actions / Qodana for JVM
@NotNull/@Nullable problems
Not annotated parameter overrides @ParametersAreNonnullByDefault parameter