Skip to content

chore: apply changes from 1.11.1 plugin template #81

chore: apply changes from 1.11.1 plugin template

chore: apply changes from 1.11.1 plugin template #81

GitHub Actions / Qodana Community for JVM completed Aug 17, 2023 in 0s

11 new problems found by Qodana Community for JVM

Community for JVM

11 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 6
Cascade if can be replaced with when 🔶 Warning 1
Unused import directive 🔶 Warning 1
Redundant nullable return type 🔶 Warning 1
Redundant semicolon 🔶 Warning 1
Convert 'object' to 'data object' ◽️ 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 37 in src/main/kotlin/de/sirywell/methodhandleplugin/dfa/SsaAnalyzer.kt

See this annotation in the file changed.

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

Cascade if can be replaced with when

Cascade 'if' should be replaced with 'when'

Check notice on line 115 in src/main/kotlin/de/sirywell/methodhandleplugin/mhtype/types.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'object' with manual 'toString' can be converted to 'data object'

Check warning on line 4 in src/main/kotlin/de/sirywell/methodhandleplugin/dfa/MhTypeProvider.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 29 in src/main/kotlin/de/sirywell/methodhandleplugin/MethodTypeInlayProvider.kt

See this annotation in the file changed.

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

Redundant nullable return type

'previewText' is always non-null type

Check warning on line 13 in src/main/kotlin/de/sirywell/methodhandleplugin/MethodTypeInlayProvider.kt

See this annotation in the file changed.

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

Redundant semicolon

Redundant semicolon

Check warning on line 237 in src/main/kotlin/de/sirywell/methodhandleplugin/mhtype/MethodHandlesMerger.kt

See this annotation in the file changed.

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

Unused symbol

Function "iteratedLoop" is never used

Check warning on line 239 in src/main/kotlin/de/sirywell/methodhandleplugin/mhtype/MethodHandlesMerger.kt

See this annotation in the file changed.

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

Unused symbol

Function "loop" is never used

Check warning on line 286 in src/main/kotlin/de/sirywell/methodhandleplugin/mhtype/MethodHandlesMerger.kt

See this annotation in the file changed.

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

Unused symbol

Function "whileLoop" is never used

Check warning on line 9 in src/main/kotlin/de/sirywell/methodhandleplugin/mhtype/MethodHandleTransformer.kt

See this annotation in the file changed.

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

Unused symbol

Function "asFixedArity" is never used

Check warning on line 9 in src/main/kotlin/de/sirywell/methodhandleplugin/psiSupport.kt

See this annotation in the file changed.

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

Unused symbol

Function "isJavaLangInvoke" is never used

Check warning on line 14 in src/main/kotlin/de/sirywell/methodhandleplugin/mhtype/MethodHandleTransformer.kt

See this annotation in the file changed.

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

Unused symbol

Function "asType" is never used