Improve the plugin for 0.2.0-alpha Release #68
349 new problems found by Qodana for JVM
Qodana for JVM
349 new problems were found
| Inspection name | Severity | Problems |
|---|---|---|
Usage of API marked for removal |
🔴 Failure | 1 |
Deprecated API usage |
🔶 Warning | 155 |
@NotNull/@Nullable problems |
🔶 Warning | 24 |
Lombok @Getter may be used |
🔶 Warning | 23 |
Nullability and data flow problems |
🔶 Warning | 20 |
Call to 'printStackTrace()' |
🔶 Warning | 20 |
Unchecked warning |
🔶 Warning | 18 |
Lombok @Setter may be used |
🔶 Warning | 14 |
Redundant type cast |
🔶 Warning | 10 |
Call to 'Arrays.asList()' with too few arguments |
🔶 Warning | 8 |
Field can be local variable |
🔶 Warning | 7 |
Field may be 'final' |
🔶 Warning | 5 |
Javadoc declaration problems |
🔶 Warning | 4 |
Unstable API Usage |
🔶 Warning | 4 |
Declaration has problems in Javadoc references |
🔶 Warning | 3 |
Redundant local variable |
🔶 Warning | 3 |
Access static member via instance reference |
🔶 Warning | 2 |
C-style array declaration |
🔶 Warning | 2 |
Constant values |
🔶 Warning | 2 |
Stream API call chain can be simplified |
🔶 Warning | 2 |
'size() == 0' can be replaced with 'isEmpty()' |
🔶 Warning | 2 |
Concatenation with empty string |
🔶 Warning | 2 |
Unnecessary semicolon |
🔶 Warning | 2 |
Unnecessary call to 'toString()' |
🔶 Warning | 2 |
Redundant 'close()' |
🔶 Warning | 1 |
Redundant 'String' operation |
🔶 Warning | 1 |
Commented out code |
◽️ Notice | 8 |
Non-strict inequality '>=' or '<=' can be replaced with '==' |
◽️ Notice | 3 |
Method can be extracted |
◽️ 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 qodana-support@jetbrains.com
- 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
github-actions / Qodana for JVM
Access static member via instance reference
Static member 'net.buildtheearth.buildteamtools.modules.navigation.components.warps.WarpsComponent.createWarp(org.bukkit.entity.@org.jspecify.annotations.NonNull Player, net.buildtheearth.buildteamtools.modules.navigation.components.warps.model.WarpGroup)' accessed via instance reference
github-actions / Qodana for JVM
Access static member via instance reference
Static member 'net.buildtheearth.buildteamtools.modules.navigation.components.warps.WarpsComponent.createWarp(org.bukkit.entity.Player)' accessed via instance reference
github-actions / Qodana for JVM
Call to 'Arrays.asList()' with too few arguments
Call to `asList()` with only one argument
github-actions / Qodana for JVM
Call to 'Arrays.asList()' with too few arguments
Call to `asList()` with only one argument
github-actions / Qodana for JVM
Call to 'Arrays.asList()' with too few arguments
Call to `asList()` with only one argument
github-actions / Qodana for JVM
Call to 'Arrays.asList()' with too few arguments
Call to `asList()` with only one argument
github-actions / Qodana for JVM
Call to 'Arrays.asList()' with too few arguments
Call to `asList()` with only one argument
github-actions / Qodana for JVM
Call to 'Arrays.asList()' with too few arguments
Call to `asList()` with only one argument
github-actions / Qodana for JVM
Call to 'Arrays.asList()' with too few arguments
Call to `asList()` with only one argument
github-actions / Qodana for JVM
Call to 'Arrays.asList()' with too few arguments
Call to `asList()` with only one argument
github-actions / Qodana for JVM
C-style array declaration
Local variable `vertex` has C-style array type declaration
github-actions / Qodana for JVM
C-style array declaration
Local variable `v` has C-style array type declaration
github-actions / Qodana for JVM
Commented out code
Commented out code (2 lines)
github-actions / Qodana for JVM
Commented out code
Commented out code (2 lines)
github-actions / Qodana for JVM
Commented out code
Commented out code (11 lines)
github-actions / Qodana for JVM
Commented out code
Commented out code (10 lines)
github-actions / Qodana for JVM
Commented out code
Commented out code (76 lines)
github-actions / Qodana for JVM
Commented out code
Commented out code (187 lines)
github-actions / Qodana for JVM
Commented out code
Commented out code (78 lines)
github-actions / Qodana for JVM
Commented out code
Commented out code (9 lines)
github-actions / Qodana for JVM
Constant values
Condition `group == null` is always `false`
github-actions / Qodana for JVM
Constant values
Condition `otherWarp == null` is always `false`
github-actions / Qodana for JVM
Nullability and data flow problems
Method invocation `getID` may produce `NullPointerException`
github-actions / Qodana for JVM
Nullability and data flow problems
Argument `NetworkModule.getInstance().getBuildTeam()` might be null
github-actions / Qodana for JVM
Nullability and data flow problems
Method invocation `getRegions` may produce `NullPointerException`