Skip to content

update readme.md

update readme.md #107

GitHub Actions / Qodana Community for JVM completed Jan 8, 2024 in 0s

38 new problems found by Qodana Community for JVM

Community for JVM

38 new problems were found

Inspection name Severity Problems
Incorrect string capitalization 🔶 Warning 3
Redundant SAM constructor 🔶 Warning 2
Unused symbol 🔶 Warning 2
Local 'var' is never modified and can be declared as 'val' 🔶 Warning 1
Unused import directive 🔶 Warning 1
Redundant semicolon 🔶 Warning 1
Accessor call that can be replaced with property access syntax ◽️ Notice 7
Property naming convention ◽️ Notice 6
Object literal can be converted to lambda ◽️ Notice 4
Redundant property getter ◽️ Notice 3
Can be replaced with binary operator ◽️ Notice 3
Redundant property setter ◽️ Notice 2
Unnecessary parentheses in function call with lambda ◽️ Notice 2
Return or assignment can be lifted out ◽️ 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/[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 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 20 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 'GHE Hostname' is not properly capitalized. It should have sentence capitalization

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

Check warning on line 16 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

Unused import directive

Unused import directive

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

See this annotation in the file changed.

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

Return or assignment can be lifted out

'Return' can be lifted out of 'if'

Check notice on line 149 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 457 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 275 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 267 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 notice on line 97 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 property getter

Redundant getter

Check notice on line 101 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 property getter

Redundant getter

Check notice on line 99 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 property getter

Redundant getter

Check warning on line 312 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 347 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 89 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 semicolon

Redundant semicolon

Check notice on line 10 in src/main/kotlin/com/github/adrienpessu/sarifviewer/actions/RefreshAction.kt

See this annotation in the file changed.

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

Redundant property setter

Redundant setter

Check notice on line 10 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

Redundant property setter

Redundant setter

Check notice on line 312 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