Skip to content

Merge pull request #2697 from SaltyAimbOtter/mkdocs_strict_validation #21

Merge pull request #2697 from SaltyAimbOtter/mkdocs_strict_validation

Merge pull request #2697 from SaltyAimbOtter/mkdocs_strict_validation #21

GitHub Actions / Qodana Community for JVM completed Feb 11, 2024 in 0s

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:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. 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]

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

'Optional' used as field or parameter type

`Optional` used as type for field 'boundCommand'

Check warning on line 294 in src/main/java/org/betonquest/betonquest/menu/config/SimpleYMLSection.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

'Optional' used as field or parameter type

`Optional` used as type for field 'optional'

Check warning on line 75 in src/main/java/org/betonquest/betonquest/compatibility/mythicmobs/MythicSpawnMobEvent.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'MythicBukkit' used without 'try'-with-resources statement

Check warning on line 120 in src/main/java/org/betonquest/betonquest/item/typehandler/BookHandler.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Method invocation `getKeys` may produce `NullPointerException`

Check warning on line 114 in src/main/java/org/betonquest/betonquest/menu/commands/SimpleCommand.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Argument `sender` might be null

Check warning on line 114 in src/main/java/org/betonquest/betonquest/menu/commands/SimpleCommand.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Argument `alias` might be null

Check warning on line 114 in src/main/java/org/betonquest/betonquest/menu/commands/SimpleCommand.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Method invocation `setExecutor` may produce `NullPointerException`