build(deps): bump org.jetbrains.changelog from 2.2.0 to 2.2.1 #116
169 new problems found by Qodana Community for JVM
Qodana Community for JVM
169 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Class is closed to inheritance |
🔶 Warning | 65 |
Nullability and data flow problems |
🔶 Warning | 15 |
Unstable API Usage |
🔶 Warning | 15 |
'size() == 0' can be replaced with 'isEmpty()' |
🔶 Warning | 10 |
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 |
Singleton |
🔶 Warning | 5 |
Method can be made 'static' |
🔶 Warning | 3 |
Redundant 'if' statement |
🔶 Warning | 3 |
Incorrect string capitalization |
🔶 Warning | 2 |
Redundant escape in regex replacement string |
🔶 Warning | 2 |
Method is identical to its super method |
🔶 Warning | 2 |
Zero-length array allocation |
🔶 Warning | 2 |
Redundant 'Collection.addAll()' call |
🔶 Warning | 1 |
Deprecated API usage |
🔶 Warning | 1 |
Statement with empty body |
🔶 Warning | 1 |
Marker interface |
🔶 Warning | 1 |
Mismatched query and update of collection |
🔶 Warning | 1 |
'switch' statement with too low of a branch density |
🔶 Warning | 1 |
Call to 'printStackTrace()' |
🔶 Warning | 1 |
Unnecessarily qualified static access |
🔶 Warning | 1 |
Constant values |
◽️ Notice | 4 |
Commented out code |
◽️ Notice | 3 |
Method can be extracted |
◽️ 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/qodana-action@v2024.1.5
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 349 in src/org/intellij/grammar/livePreview/LivePreviewParser.java
github-actions / Qodana Community for JVM
Commented out code
Commented out code (2 lines)
Check notice on line 174 in src/org/intellij/grammar/livePreview/LivePreviewParser.java
github-actions / Qodana Community for JVM
Commented out code
Commented out code (3 lines)
Check notice on line 21 in src/org/intellij/grammar/editor/BnfExpressionMarkerAnnotator.java
github-actions / Qodana Community for JVM
Commented out code
Commented out code (4 lines)
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 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