Bump gradle/gradle-build-action from 2.11.0 to 2.11.1 #31
32 new problems found by Qodana Community for JVM
Community for JVM
32 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused symbol |
🔶 Warning | 4 |
Incorrect string capitalization |
🔶 Warning | 2 |
Redundant SAM constructor |
🔶 Warning | 2 |
Local 'var' is never modified and can be declared as 'val' |
🔶 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 | 5 |
Can be replaced with binary operator |
◽️ Notice | 3 |
Unnecessary parentheses in function call with lambda |
◽️ Notice | 2 |
💡 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:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- 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]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 127 in build.gradle.kts
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'
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'GHE Hostname' is not properly capitalized. It should have sentence capitalization
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'GHE Token' is not properly capitalized. It should have sentence capitalization
github-actions / Qodana Community for JVM
Object literal can be converted to lambda
Convert to lambda
github-actions / Qodana Community for JVM
Object literal can be converted to lambda
Convert to lambda
github-actions / Qodana Community for JVM
Object literal can be converted to lambda
Convert to lambda
github-actions / Qodana Community for JVM
Object literal can be converted to lambda
Convert to lambda
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
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
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
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
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
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
github-actions / Qodana Community for JVM
Property naming convention
Property name `results_count` should not contain underscores
github-actions / Qodana Community for JVM
Redundant SAM constructor
Redundant SAM-constructor
github-actions / Qodana Community for JVM
Redundant SAM constructor
Redundant SAM-constructor
github-actions / Qodana Community for JVM
Unnecessary parentheses in function call with lambda
Unnecessary parentheses in function call with lambda
github-actions / Qodana Community for JVM
Unnecessary parentheses in function call with lambda
Unnecessary parentheses in function call with lambda
github-actions / Qodana Community for JVM
Can be replaced with binary operator
Call can be replaced with binary operator
github-actions / Qodana Community for JVM
Can be replaced with binary operator
Call can be replaced with binary operator
github-actions / Qodana Community for JVM
Can be replaced with binary operator
Call can be replaced with binary operator
Check warning on line 3 in src/main/kotlin/com/github/adrienpessu/sarifviewer/utils/Icons.kt
github-actions / Qodana Community for JVM
Unused symbol
Class "Icons" is never used
Check warning on line 6 in src/main/kotlin/com/github/adrienpessu/sarifviewer/utils/Icons.kt
github-actions / Qodana Community for JVM
Unused symbol
Property "ICON_WARNING" is never used
Check warning on line 10 in src/main/kotlin/com/github/adrienpessu/sarifviewer/MyBundle.kt
github-actions / Qodana Community for JVM
Unused symbol
Object "MyBundle" is never used
Check warning on line 8 in src/main/kotlin/com/github/adrienpessu/sarifviewer/utils/Icons.kt
github-actions / Qodana Community for JVM
Unused symbol
Property "ERROR" is never used