Skip to content
GitHub Actions / Qodana Community for JVM completed Mar 3, 2024 in 0s

68 new problems found by Qodana Community for JVM

Qodana Community for JVM

68 new problems were found

Inspection name Severity Problems
@NotNull/@Nullable problems 🔶 Warning 23
Nullability and data flow problems 🔶 Warning 13
Unnecessary semicolon 🔶 Warning 9
Redundant 'if' statement 🔶 Warning 7
Lombok @Getter may be used 🔶 Warning 5
Dangling Javadoc comment 🔶 Warning 2
Stream API call chain can be simplified 🔶 Warning 2
Deprecated API usage 🔶 Warning 1
Unused import 🔶 Warning 1
Duplicate branches in 'switch' ◽️ Notice 3
Commented out code ◽️ Notice 1
'if' statement with identical branches ◽️ Notice 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/qodana-action@v2023.3.1
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 58 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/factory/commandtype/base/CommandTypeAbstractWriteTagProcessor.java

See this annotation in the file changed.

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

Commented out code

Commented out code (3 lines)

Check warning on line 3 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/config/settings/state/GlobalSettingsState.java

See this annotation in the file changed.

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

Dangling Javadoc comment

Dangling Javadoc comment

Check warning on line 3 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/config/settings/configurable/GlobalSettingsConfigurable.java

See this annotation in the file changed.

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

Dangling Javadoc comment

Dangling Javadoc comment

Check warning on line 27 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/GlobalUniversalGenerateActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Argument `anActionEvent.getProject()` might be null

Check warning on line 27 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/SwaggerToJavaDocActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getPresentation` may produce `NullPointerException`

Check warning on line 32 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/ElementNameToJavaDocActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Argument `anActionEvent.getProject()` might be null

Check warning on line 36 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/DeleteElementActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getProject` may produce `NullPointerException`

Check warning on line 32 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/GenerateAnnotationActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Argument `anActionEvent.getProject()` might be null

Check warning on line 31 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/SwaggerToJavaDocActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getProject` may produce `NullPointerException`

Check warning on line 36 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/DeleteElementActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Argument `anActionEvent.getProject()` might be null

Check warning on line 32 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/DeleteElementActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getPresentation` may produce `NullPointerException`

Check warning on line 28 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/ElementNameToJavaDocActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getPresentation` may produce `NullPointerException`

Check warning on line 31 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/SwaggerToJavaDocActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Argument `anActionEvent.getProject()` might be null

Check warning on line 28 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/GenerateAnnotationActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getPresentation` may produce `NullPointerException`

Check warning on line 32 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/ElementNameToJavaDocActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getProject` may produce `NullPointerException`

Check warning on line 32 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/GenerateAnnotationActionGroup.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getProject` may produce `NullPointerException`

Check warning on line 37 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/util/CommentQueryUtils.java

See this annotation in the file changed.

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

Deprecated API usage

'get(java.lang.@org.jetbrains.annotations.NotNull String, com.intellij.openapi.project.@org.jetbrains.annotations.NotNull Project, com.intellij.psi.search.@org.jetbrains.annotations.NotNull GlobalSearchScope)' is deprecated

Check notice on line 199 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/config/settings/component/GlobalSettingsComponent.java

See this annotation in the file changed.

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

Duplicate branches in 'switch'

Branch in 'switch' is a duplicate of the default branch

Check notice on line 128 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/config/settings/component/GlobalSettingsComponent.java

See this annotation in the file changed.

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

Duplicate branches in 'switch'

Branch in 'switch' is a duplicate of the default branch

Check notice on line 24 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/config/localization/LocalizationConfigFactory.java

See this annotation in the file changed.

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

Duplicate branches in 'switch'

Branch in 'switch' is a duplicate of the default branch

Check notice on line 27 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/action/actiongroup/GlobalUniversalGenerateActionGroup.java

See this annotation in the file changed.

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

'if' statement with identical branches

'if' statement can be collapsed with side effect extraction

Check warning on line 9 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/common/exception/ExceptionMsgEnum.java

See this annotation in the file changed.

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

Lombok @Getter may be used

Class 'ExceptionMsgEnum' may use Lombok @Getter

Check warning on line 12 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/constants/ModifierAnnotationEnum.java

See this annotation in the file changed.

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

Lombok @Getter may be used

Class 'ModifierAnnotationEnum' may use Lombok @Getter

Check warning on line 8 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/constants/LocalizationEnum.java

See this annotation in the file changed.

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

Lombok @Getter may be used

Class 'LocalizationEnum' may use Lombok @Getter

Check warning on line 8 in src/main/java/cc/bitky/jetbrains/plugin/universalgenerate/common/exception/BitkylinException.java

See this annotation in the file changed.

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

Lombok @Getter may be used

Class 'BitkylinException' may use Lombok @Getter