31 new problems found by Qodana Community for JVM
Community for JVM
31 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Constant conditions |
🔶 Warning | 15 |
Unresolved reference in KDoc |
🔶 Warning | 11 |
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9 |
🔶 Warning | 4 |
Function or property has platform type |
◽️ 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:
- 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
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 202 in src/main/kotlin/mobi/hsz/idea/gitignore/settings/IgnoreSettings.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check warning on line 395 in src/main/kotlin/mobi/hsz/idea/gitignore/ui/GeneratorDialog.kt
github-actions / Qodana Community for JVM
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
Check notice on line 40 in src/main/kotlin/mobi/hsz/idea/gitignore/vcs/IgnoreFileStatusProvider.kt
github-actions / Qodana Community for JVM
Function or property has platform type
Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.
Check warning on line 115 in src/main/kotlin/mobi/hsz/idea/gitignore/IgnoreBundle.kt
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'IgnoreTypes'
Check warning on line 115 in src/main/kotlin/mobi/hsz/idea/gitignore/IgnoreBundle.kt
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'SYNTAX'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'IgnoreEntry'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'IgnoreTypes'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'SYNTAX'
Check warning on line 99 in src/main/kotlin/mobi/hsz/idea/gitignore/util/Glob.kt
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'IgnoreEntry'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'file'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'IgnoreSyntax'
Check warning on line 101 in src/main/kotlin/mobi/hsz/idea/gitignore/util/Glob.kt
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'IgnoreEntry'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'fileEditor'
github-actions / Qodana Community for JVM
Unresolved reference in KDoc
Cannot resolve symbol 'IGNORED'
Check warning on line 448 in src/main/kotlin/mobi/hsz/idea/gitignore/ui/IgnoreSettingsPanel.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'column == 2 \&\& settings.keys.toList()\[row\]?.let(IgnoreBundle::isExcludedFromHighlighting) ?: false' is always false when reached
Check warning on line 34 in src/main/kotlin/mobi/hsz/idea/gitignore/psi/impl/IgnoreEntryExtImpl.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'this is IgnoreEntryFile' is always true
github-actions / Qodana Community for JVM
Constant conditions
Condition 'IgnoreBundle.Syntax.GLOB == entry.syntax' is always false
Check warning on line 448 in src/main/kotlin/mobi/hsz/idea/gitignore/ui/IgnoreSettingsPanel.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'column == 2' is always false
github-actions / Qodana Community for JVM
Constant conditions
Cast will always fail
github-actions / Qodana Community for JVM
Constant conditions
Condition '!isDirectory' is always false
Check warning on line 124 in src/main/kotlin/mobi/hsz/idea/gitignore/reference/IgnoreReferenceSet.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'current != entry.text' is always true when reached
Check warning on line 19 in src/main/kotlin/mobi/hsz/idea/gitignore/psi/IgnoreEntryManipulator.kt
github-actions / Qodana Community for JVM
Constant conditions
Condition 'entry.language !is IgnoreLanguage' is always true
github-actions / Qodana Community for JVM
Constant conditions
Condition 'isDirectory' is always true