Merge pull request #2697 from SaltyAimbOtter/mkdocs_strict_validation #21
2442 new problems found by Qodana Community for JVM
Community for JVM
2442 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Missing Javadoc |
🔶 Warning | 1810 |
Deprecated API usage |
🔶 Warning | 330 |
Optional.get() is called without isPresent() check |
🔶 Warning | 82 |
Possibly blocking call in non-blocking context |
🔶 Warning | 61 |
@NotNull/@Nullable problems |
🔶 Warning | 60 |
Nullability and data flow problems |
🔶 Warning | 53 |
Link specified as plain text |
🔶 Warning | 11 |
Result of method call ignored |
🔶 Warning | 8 |
Deprecated member is still used |
🔶 Warning | 5 |
Dangling Javadoc comment |
🔶 Warning | 5 |
'Optional' used as field or parameter type |
🔶 Warning | 3 |
Unnecessary non-capturing group |
🔶 Warning | 3 |
Constant values |
🔶 Warning | 3 |
AutoCloseable used without 'try'-with-resources |
🔶 Warning | 1 |
Loop variable not updated inside loop |
🔶 Warning | 1 |
Redundant character escape |
🔶 Warning | 1 |
Unnecessary 'null' check before method call |
🔶 Warning | 1 |
Busy wait |
🔶 Warning | 1 |
Inner class may be 'static' |
🔶 Warning | 1 |
Mismatched query and update of 'StringBuilder' |
🔶 Warning | 1 |
Bulk operation can be used instead of iteration |
🔶 Warning | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
View the detailed Qodana report
To be able to view the detailed Qodana report, you can either:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- Inspect and use
qodana.sarif.json
(see the Qodana SARIF format for details)
To get *.log
files or any other Qodana artifacts, run the action with upload-result
option set to true
,
so that the action will upload the files as the job artifacts:
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: true
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 70 in src/main/java/org/betonquest/betonquest/menu/Menu.java
github-actions / Qodana Community for JVM
'Optional' used as field or parameter type
`Optional` used as type for field 'boundItem'
Check warning on line 90 in src/main/java/org/betonquest/betonquest/menu/Menu.java
github-actions / Qodana Community for JVM
'Optional' used as field or parameter type
`Optional` used as type for field 'boundCommand'
github-actions / Qodana Community for JVM
'Optional' used as field or parameter type
`Optional` used as type for field 'optional'
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'MythicBukkit' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
Loop variable not updated inside loop
Variable 'i' is not updated inside loop
Check warning on line 207 in src/main/java/org/betonquest/betonquest/Journal.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `config.getString("date_format")` might be null
Check warning on line 96 in src/main/java/org/betonquest/betonquest/Journal.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `equals` may produce `NullPointerException`
Check warning on line 266 in src/main/java/org/betonquest/betonquest/Backpack.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Arguments of 'replace' are the same. Calling this method with the same arguments is meaningless
Check warning on line 549 in src/main/java/org/betonquest/betonquest/BetonQuest.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getPackage` may produce `NullPointerException`
Check warning on line 104 in src/main/java/org/betonquest/betonquest/item/QuestItemHandler.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getType` may produce `NullPointerException`
Check warning on line 136 in src/main/java/org/betonquest/betonquest/item/QuestItemHandler.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getType` may produce `NullPointerException`
Check warning on line 193 in src/main/java/org/betonquest/betonquest/item/QuestItem.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Dereference of `meta.getLore()` may produce `NullPointerException`
Check warning on line 213 in src/main/java/org/betonquest/betonquest/item/QuestItem.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `replace` may produce `NullPointerException`
Check warning on line 216 in src/main/java/org/betonquest/betonquest/item/QuestItem.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `replace` may produce `NullPointerException`
Check warning on line 292 in src/main/java/org/betonquest/betonquest/item/QuestItem.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getType` may produce `NullPointerException`
Check warning on line 164 in src/main/java/org/betonquest/betonquest/menu/Menu.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getKeys` may produce `NullPointerException`
Check warning on line 172 in src/main/java/org/betonquest/betonquest/menu/Menu.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getKeys` may produce `NullPointerException`
Check warning on line 51 in src/main/java/org/betonquest/betonquest/menu/config/RPGMenuConfig.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getKeys` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `sender` might be null
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `alias` might be null
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `args` might be null
Check warning on line 167 in src/main/java/org/betonquest/betonquest/utils/Utils.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `contains` may produce `NullPointerException`
Check warning on line 83 in src/main/java/org/betonquest/betonquest/config/QuestCanceler.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getKeys` may produce `NullPointerException`
Check warning on line 101 in src/main/java/org/betonquest/betonquest/events/SpawnMobEvent.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `setHelmet` may produce `NullPointerException`
Check warning on line 21 in src/main/java/org/betonquest/betonquest/commands/JournalCommand.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `setExecutor` may produce `NullPointerException`