[build] GH com.github.breadmoirai.github-release 2.5.2 #83
74 new problems found by Qodana Community for JVM
Qodana Community for JVM
74 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unstable API Usage |
🔶 Warning | 15 |
Nullability and data flow problems |
🔶 Warning | 14 |
Static collection |
🔶 Warning | 8 |
Class is exposed outside of its visibility scope |
🔶 Warning | 6 |
Collection declared by class, not interface |
🔶 Warning | 5 |
'instanceof' check for 'this' |
🔶 Warning | 5 |
Magic number |
🔶 Warning | 5 |
Method can be made 'static' |
🔶 Warning | 3 |
Incorrect string capitalization |
🔶 Warning | 2 |
Zero-length array allocation |
🔶 Warning | 2 |
Redundant 'Collection.addAll()' call |
🔶 Warning | 1 |
Constant values |
🔶 Warning | 1 |
Statement with empty body |
🔶 Warning | 1 |
Mismatched query and update of collection |
🔶 Warning | 1 |
'switch' statement with too low of a branch density |
🔶 Warning | 1 |
Constant values |
◽️ Notice | 4 |
💡 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/qodana-action@v2023.3.1
with:
upload-result: true
Contact Qodana team
Contact us at qodana-support@jetbrains.com
- 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 152 in src/org/intellij/grammar/livePreview/LivePreviewLexer.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `Token` is exposed outside its defined visibility scope
Check warning on line 225 in src/org/intellij/grammar/generator/ExpressionGeneratorHelper.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ConsumeType` is exposed outside its defined visibility scope
Check warning on line 228 in src/org/intellij/grammar/generator/ExpressionGeneratorHelper.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ConsumeType` is exposed outside its defined visibility scope
Check warning on line 20 in src/org/intellij/grammar/generator/GenOptions.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `Names` is exposed outside its defined visibility scope
Check warning on line 1480 in src/org/intellij/grammar/generator/ParserGenerator.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ConsumeType` is exposed outside its defined visibility scope
Check warning on line 1480 in src/org/intellij/grammar/generator/ParserGenerator.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `NodeCall` is exposed outside its defined visibility scope
Check warning on line 68 in src/org/intellij/grammar/inspection/BnfUnusedRuleInspection.java
github-actions / Qodana Community for JVM
Redundant 'Collection.addAll()' call
'addAll()' call can be replaced with parametrized constructor call
Check notice on line 230 in src/org/intellij/grammar/livePreview/LivePreviewParser.java
github-actions / Qodana Community for JVM
Constant values
Value `pinApplied` is always 'true'
Check notice on line 237 in src/org/intellij/grammar/livePreview/LivePreviewParser.java
github-actions / Qodana Community for JVM
Constant values
Value `pinApplied` is always 'true'
Check notice on line 234 in src/org/intellij/grammar/livePreview/LivePreviewParser.java
github-actions / Qodana Community for JVM
Constant values
Value `pinApplied` is always 'true'
Check notice on line 227 in src/org/intellij/grammar/livePreview/LivePreviewParser.java
github-actions / Qodana Community for JVM
Constant values
Value `pinApplied` is always 'true'
Check warning on line 904 in src/org/intellij/grammar/generator/ParserGenerator.java
github-actions / Qodana Community for JVM
Constant values
Condition `frameName == null` is always `true`
Check warning on line 123 in src/org/intellij/grammar/refactor/BnfIntroduceTokenHandler.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
The call to 'rethrowAllAsUnchecked' always fails, according to its method contracts
Check warning on line 164 in src/org/intellij/grammar/refactor/BnfIntroduceTokenHandler.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `context.getEditor()` might be null
Check warning on line 602 in src/org/intellij/grammar/livePreview/LivePreviewParser.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getTokenType` may produce `NullPointerException`
Check warning on line 164 in src/org/intellij/grammar/refactor/BnfInlineRuleProcessor.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getModifierList` may produce `NullPointerException`
Check warning on line 189 in src/org/intellij/grammar/actions/BnfGenerateLexerAction.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `stream` might be null
Check warning on line 20 in src/org/intellij/jflex/parser/JFlexASTFactory.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
@Nullable method 'createComposite' always returns a non-null value
Check warning on line 97 in src/org/intellij/grammar/refactor/BnfInlineRuleProcessor.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `element` might be null
Check warning on line 625 in src/org/intellij/grammar/livePreview/LivePreviewParser.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `precede` may produce `NullPointerException`
Check warning on line 1769 in src/org/intellij/grammar/generator/ParserGenerator.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `rule` might be null
Check warning on line 20 in src/org/intellij/grammar/BnfASTFactory.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
@Nullable method 'createComposite' always returns a non-null value
Check warning on line 43 in src/org/intellij/grammar/livePreview/LivePreviewFileType.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
@Nullable method 'getIcon' always returns a non-null value
Check warning on line 625 in src/org/intellij/grammar/livePreview/LivePreviewParser.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `elementType` might be null
Check warning on line 278 in src/org/intellij/grammar/analysis/BnfFirstNextAnalyzer.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `resolve` may produce `NullPointerException`