Skip to content

Bump JetBrains/qodana-action from 2024.1.5 to 2024.1.9 #95

Bump JetBrains/qodana-action from 2024.1.5 to 2024.1.9

Bump JetBrains/qodana-action from 2024.1.5 to 2024.1.9 #95

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

18 new problems found by Qodana Community for JVM

Qodana Community for JVM

18 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 2
Unused import directive 🔶 Warning 1
Redundant qualifier name 🔶 Warning 1
Multiple operators with different precedence 🔶 Warning 1
Useless call on collection type 🔶 Warning 1
'if' condition can be replaced with lambda call ◽️ Notice 5
Might be 'const' ◽️ Notice 3
Class member can have 'private' visibility ◽️ Notice 2
Redundant 'if' statement ◽️ Notice 1
Explicit 'get' or 'set' call ◽️ 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:

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 3 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/RequestMappingModel.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 5 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/annotations/spring/SpringAnnotations.kt

See this annotation in the file changed.

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

Might be 'const'

Might be 'const'

Check notice on line 5 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/annotations/micronaut/MicronautAnnotations.kt

See this annotation in the file changed.

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

Might be 'const'

Might be 'const'

Check notice on line 5 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/annotations/jaxrs/JaxrsAnnotations.kt

See this annotation in the file changed.

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

Might be 'const'

Might be 'const'

Check notice on line 18 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/annotations/micronaut/MicronautMappingAnnotation.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Property 'psiAnnotation' could be private

Check notice on line 17 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/annotations/jaxrs/JaxRsMappingAnnotation.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Property 'psiAnnotation' could be private

Check notice on line 73 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/model/PathElement.kt

See this annotation in the file changed.

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

Redundant 'if' statement

Redundant 'if' statement

Check warning on line 18 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/GoToRequestMappingAction.kt

See this annotation in the file changed.

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

Redundant qualifier name

Redundant qualifier name

Check notice on line 13 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/contributor/KotlinRequestMappingContributor.kt

See this annotation in the file changed.

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

Explicit 'get' or 'set' call

Should be replaced with indexing

Check notice on line 60 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/annotations/spring/SpringMappingAnnotation.kt

See this annotation in the file changed.

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

'if' condition can be replaced with lambda call

Replace with 'ifEmpty {...}'

Check notice on line 58 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/annotations/spring/SpringMappingAnnotation.kt

See this annotation in the file changed.

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

'if' condition can be replaced with lambda call

Replace with 'ifEmpty {...}'

Check notice on line 12 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/model/PathElement.kt

See this annotation in the file changed.

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

'if' condition can be replaced with lambda call

Replace with 'ifBlank {...}'

Check notice on line 53 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/annotations/spring/SpringMappingAnnotation.kt

See this annotation in the file changed.

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

'if' condition can be replaced with lambda call

Replace with 'ifEmpty {...}'

Check notice on line 42 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/annotations/spring/SpringMappingAnnotation.kt

See this annotation in the file changed.

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

'if' condition can be replaced with lambda call

Replace with 'ifEmpty {...}'

Check warning on line 43 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/RequestMappingItem.kt

See this annotation in the file changed.

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

Multiple operators with different precedence

Expression should use clarifying parentheses

Check warning on line 21 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/model/Path.kt

See this annotation in the file changed.

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

Unused symbol

Function "isSubpathOf" is never used

Check warning on line 11 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/model/PopupPath.kt

See this annotation in the file changed.

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

Unused symbol

Function "toPath" is never used

Check warning on line 39 in src/main/kotlin/com/github/goldsubmarine/restfulhelper/contributor/RequestMappingByNameContributor.kt

See this annotation in the file changed.

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

Useless call on collection type

Useless call on collection type