Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Implement Diff View #8

Merged
merged 1 commit into from
Nov 28, 2023

feat: implement diff view

a8a5f3f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Feat: Implement Diff View #8

feat: implement diff view
a8a5f3f
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana Community for JVM completed Nov 27, 2023 in 0s

21 new problems found by Qodana Community for JVM

Community for JVM

21 new problems were found

Inspection name Severity Problems
Nullability and data flow problems 🔶 Warning 11
Incorrect string capitalization 🔶 Warning 5
Class is exposed outside of its visibility scope 🔶 Warning 2
Constant values 🔶 Warning 1
Call to 'toString()' on array 🔶 Warning 1
Mismatched query and update of 'StringBuilder' 🔶 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 33 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 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/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 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 42 in src/main/java/ai/devchat/devchat/handler/CommitCodeRequestHandler.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 56 in src/main/java/ai/devchat/devchat/handler/ViewDiffRequestHandler.java

See this annotation in the file changed.

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

Nullability and data flow problems

Argument `localContent` might be null

Check warning on line 23 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 58 in src/main/java/ai/devchat/devchat/handler/ViewDiffRequestHandler.java

See this annotation in the file changed.

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

Incorrect string capitalization

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

Check warning on line 24 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 'default_model' is not properly capitalized. It should have sentence capitalization

Check warning on line 59 in src/main/java/ai/devchat/devchat/handler/ViewDiffRequestHandler.java

See this annotation in the file changed.

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

Incorrect string capitalization

String 'New Code' 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_base' 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`

Check warning on line 33 in src/main/java/ai/devchat/devchat/handler/CommitCodeRequestHandler.java

See this annotation in the file changed.

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

Mismatched query and update of 'StringBuilder'

Contents of `StringBuilder result` are updated, but never queried