Skip to content

Chore: update plugin id to avoid the "intellij" word usage #26

Chore: update plugin id to avoid the "intellij" word usage

Chore: update plugin id to avoid the "intellij" word usage #26

GitHub Actions / Qodana Community for JVM completed Nov 15, 2023 in 0s

16 new problems found by Qodana Community for JVM

Community for JVM

16 new problems were found

Inspection name Severity Problems
Nullability and data flow problems 🔶 Warning 10
Class is exposed outside of its visibility scope 🔶 Warning 2
Incorrect string capitalization 🔶 Warning 2
Constant values 🔶 Warning 1
Call to 'toString()' on array 🔶 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 61 in src/main/java/ai/devchat/cli/DevChatConfig.java

See this annotation in the file changed.

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

Class is exposed outside of its visibility scope

Class `ModelConfig` is exposed outside its defined visibility scope

Check warning on line 65 in src/main/java/ai/devchat/cli/DevChatConfig.java

See this annotation in the file changed.

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

Class is exposed outside of its visibility scope

Class `ModelConfig` is exposed outside its defined visibility scope

Check warning on line 43 in src/main/java/ai/devchat/idea/action/AddToDevChatFileAction.java

See this annotation in the file changed.

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

Constant values

Condition `virtualFile != null` is always `true`

Check warning on line 35 in src/main/java/ai/devchat/idea/action/AddToDevChatEditorAction.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getBasePath` may produce `NullPointerException`

Check warning on line 36 in src/main/java/ai/devchat/devchat/handler/AddContextRequestHandler.java

See this annotation in the file changed.

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

Nullability and data flow problems

Argument `projectDir` might be null

Check warning on line 33 in src/main/java/ai/devchat/idea/action/AddToDevChatFileAction.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getBasePath` may produce `NullPointerException`

Check warning on line 34 in src/main/java/ai/devchat/devchat/handler/ReplaceFileContentHandler.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getDocument` may produce `NullPointerException`

Check warning on line 36 in src/main/java/ai/devchat/idea/action/AddToDevChatEditorAction.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getPath` may produce `NullPointerException`

Check warning on line 25 in src/main/java/ai/devchat/idea/action/AddToDevChatEditorAction.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getSelectionModel` may produce `NullPointerException`

Check warning on line 60 in src/main/java/ai/devchat/idea/DevChatToolWindow.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `isEmpty` may produce `NullPointerException`

Check warning on line 34 in src/main/java/ai/devchat/idea/action/AddToDevChatFileAction.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getPath` may produce `NullPointerException`

Check warning on line 65 in src/main/java/ai/devchat/idea/DevChatToolWindow.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `isEmpty` may produce `NullPointerException`

Check warning on line 34 in src/main/java/ai/devchat/devchat/handler/InsertCodeRequestHandler.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getDocument` may produce `NullPointerException`

Check warning on line 21 in src/main/java/ai/devchat/idea/setting/DevChatSettingsComponent.java

See this annotation in the file changed.

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

Incorrect string capitalization

String 'api_base' is not properly capitalized. It should have sentence capitalization

Check warning on line 22 in src/main/java/ai/devchat/idea/setting/DevChatSettingsComponent.java

See this annotation in the file changed.

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

Incorrect string capitalization

String 'api_key' is not properly capitalized. It should have sentence capitalization

Check warning on line 116 in src/main/java/ai/devchat/cli/DevChatInstallationManager.java

See this annotation in the file changed.

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

Call to 'toString()' on array

Implicit call to 'toString()' on array `command`