Skip to content

Push on main

Push on main #141

GitHub Actions / Qodana Community for JVM completed May 10, 2024 in 0s

17 new problems found by Qodana Community for JVM

Qodana Community for JVM

17 new problems were found

Inspection name Severity Problems
Incorrect string capitalization 🔶 Warning 2
Unused import directive 🔶 Warning 2
Redundant SAM constructor 🔶 Warning 2
Local 'var' is never modified and can be declared as 'val' 🔶 Warning 1
Unused symbol 🔶 Warning 1
Property naming convention ◽️ Notice 6
Unnecessary parentheses in function call with lambda ◽️ Notice 2
Object literal can be converted to lambda ◽️ 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.2
        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 warning on line 127 in build.gradle.kts

See this annotation in the file changed.

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

Local 'var' is never modified and can be declared as 'val'

Variable is never modified, so it can be declared using 'val'

Check warning on line 7 in src/main/kotlin/com/github/adrienpessu/sarifviewer/actions/OpenLocalAction.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Open local Sarif file' is not properly capitalized. It should have title capitalization

Check warning on line 35 in src/main/kotlin/com/github/adrienpessu/sarifviewer/configurable/SettingComponent.kt

See this annotation in the file changed.

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

Incorrect string capitalization

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

Check warning on line 7 in src/main/kotlin/com/github/adrienpessu/sarifviewer/configurable/SettingComponent.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check warning on line 8 in src/main/kotlin/com/github/adrienpessu/sarifviewer/configurable/SettingComponent.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check notice on line 146 in src/main/kotlin/com/github/adrienpessu/sarifviewer/toolWindow/SarifViewerWindowFactory.kt

See this annotation in the file changed.

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

Object literal can be converted to lambda

Convert to lambda

Check notice on line 17 in src/main/kotlin/com/github/adrienpessu/sarifviewer/models/Root.kt

See this annotation in the file changed.

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

Property naming convention

Property name `sarif_id` should not contain underscores

Check notice on line 8 in src/main/kotlin/com/github/adrienpessu/sarifviewer/models/Root.kt

See this annotation in the file changed.

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

Property naming convention

Property name `analysis_key` should not contain underscores

Check notice on line 12 in src/main/kotlin/com/github/adrienpessu/sarifviewer/models/Root.kt

See this annotation in the file changed.

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

Property naming convention

Property name `created_at` should not contain underscores

Check notice on line 14 in src/main/kotlin/com/github/adrienpessu/sarifviewer/models/Root.kt

See this annotation in the file changed.

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

Property naming convention

Property name `rules_count` should not contain underscores

Check notice on line 7 in src/main/kotlin/com/github/adrienpessu/sarifviewer/models/Root.kt

See this annotation in the file changed.

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

Property naming convention

Property name `commit_sha` should not contain underscores

Check notice on line 13 in src/main/kotlin/com/github/adrienpessu/sarifviewer/models/Root.kt

See this annotation in the file changed.

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

Property naming convention

Property name `results_count` should not contain underscores

Check warning on line 332 in src/main/kotlin/com/github/adrienpessu/sarifviewer/toolWindow/SarifViewerWindowFactory.kt

See this annotation in the file changed.

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

Redundant SAM constructor

Redundant SAM-constructor

Check warning on line 297 in src/main/kotlin/com/github/adrienpessu/sarifviewer/toolWindow/SarifViewerWindowFactory.kt

See this annotation in the file changed.

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

Redundant SAM constructor

Redundant SAM-constructor

Check notice on line 332 in src/main/kotlin/com/github/adrienpessu/sarifviewer/toolWindow/SarifViewerWindowFactory.kt

See this annotation in the file changed.

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

Unnecessary parentheses in function call with lambda

Unnecessary parentheses in function call with lambda

Check notice on line 297 in src/main/kotlin/com/github/adrienpessu/sarifviewer/toolWindow/SarifViewerWindowFactory.kt

See this annotation in the file changed.

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

Unnecessary parentheses in function call with lambda

Unnecessary parentheses in function call with lambda

Check warning on line 10 in src/main/kotlin/com/github/adrienpessu/sarifviewer/MyBundle.kt

See this annotation in the file changed.

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

Unused symbol

Object "MyBundle" is never used