Skip to content

build(deps): bump JetBrains/qodana-action from 2024.2.6 to 2024.3.2 (… #154

build(deps): bump JetBrains/qodana-action from 2024.2.6 to 2024.3.2 (…

build(deps): bump JetBrains/qodana-action from 2024.2.6 to 2024.3.2 (… #154

Triggered via push December 12, 2024 08:48
Status Success
Total duration 13m 45s
Artifacts 2

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

254 warnings and 81 notices
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/ParserGenerator.java#L132
Class `Names` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/GenOptions.java#L21
Class `Names` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/ExpressionGeneratorHelper.java#L224
Class `ConsumeType` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/livePreview/LivePreviewLexer.java#L152
Class `Token` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/ExpressionGeneratorHelper.java#L227
Class `ConsumeType` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/ParserGenerator.java#L1331
Class `NodeCall` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/ParserGenerator.java#L1331
Class `ConsumeType` is exposed outside its defined visibility scope
Redundant 'Collection.addAll()' call: src/org/intellij/grammar/inspection/BnfUnusedRuleInspection.java#L68
'addAll()' call can be replaced with parametrized constructor call
Condition is covered by further condition: src/org/intellij/grammar/BnfStructureViewFactory.java#L92
Condition 'element instanceof BnfRule' covered by subsequent condition 'element instanceof BnfAttr'
Condition is covered by further condition: src/org/intellij/grammar/generator/RuleGraphHelper.java#L51
Condition 'e1 instanceof BnfReferenceOrToken \&\& e2 instanceof BnfReferenceOrToken' covered by subsequent condition 'e1 instanceof BnfLiteralExpression \&\& e2 instanceof BnfLiteralExpression'
Condition is covered by further condition: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L96
Condition 'parent instanceof BnfQuantified' covered by subsequent condition 'parent instanceof BnfPredicate'
Condition is covered by further condition: src/org/intellij/grammar/generator/ParserGeneratorUtil.java#L500
Condition 'tree instanceof BnfReferenceOrToken' covered by subsequent condition 'tree instanceof BnfLiteralExpression'
Condition is covered by further condition: src/org/intellij/grammar/generator/RuleGraphHelper.java#L304
Condition 'e instanceof BnfReferenceOrToken' covered by subsequent condition 'e instanceof BnfStringLiteralExpression'
Condition is covered by further condition: src/org/intellij/grammar/BnfCompletionContributor.java#L183
Condition 'next instanceof PsiComment' covered by subsequent condition 'next instanceof PsiWhiteSpace'
Condition is covered by further condition: src/org/intellij/grammar/generator/ParserGeneratorUtil.java#L211
Condition 'child instanceof BnfLiteralExpression' covered by subsequent condition 'child instanceof BnfReferenceOrToken'
Condition is covered by further condition: src/org/intellij/grammar/BnfStructureViewFactory.java#L74
Condition 'element instanceof BnfAttrs' covered by subsequent condition 'element instanceof BnfRule'
Condition is covered by further condition: src/org/intellij/grammar/generator/RuleGraphHelper.java#L293
Condition 'o instanceof BnfPredicate' covered by subsequent condition 'o instanceof BnfExternalExpression'
Condition is covered by further condition: src/org/intellij/grammar/editor/BnfAnnotator.java#L106
Condition 'parent instanceof BnfAttrPattern' covered by subsequent condition 'parent instanceof BnfAttr'
Condition is covered by further condition: src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java#L78
Condition 'cur instanceof BnfQuantified' covered by subsequent condition 'cur instanceof BnfParenOptExpression'
Condition is covered by further condition: src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java#L143
Condition 'element instanceof BnfReferenceOrToken' covered by subsequent condition 'element instanceof BnfLiteralExpression'
Condition is covered by further condition: src/org/intellij/grammar/editor/BnfAnnotator.java#L116
Condition 'parent instanceof BnfAttr' covered by subsequent condition 'parent instanceof BnfListEntry'
Condition is covered by further condition: src/org/intellij/grammar/editor/BnfAnnotator.java#L106
Condition 'parent instanceof BnfAttr' covered by subsequent condition 'parent instanceof BnfListEntry'
Condition is covered by further condition: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L116
Condition 'parent instanceof BnfQuantified' covered by subsequent condition 'parent instanceof BnfPredicate'
Condition is covered by further condition: src/org/intellij/grammar/inspection/BnfInspectionSuppressor.java#L59
Condition 'e instanceof PsiWhiteSpace' covered by subsequent condition 'e instanceof PsiComment'
Condition is covered by further condition: src/org/intellij/grammar/generator/RuleGraphHelper.java#L43
Condition 'e instanceof BnfReferenceOrToken' covered by subsequent condition 'e instanceof BnfLiteralExpression'
Condition is covered by further condition: src/org/intellij/grammar/inspection/BnfUnusedRuleInspection.java#L124
Condition 'o instanceof BnfReferenceOrToken' covered by subsequent condition 'o instanceof BnfStringLiteralExpression'
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L65
Condition `f1` is always `true`
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L46
Condition `prevSibling != null` is always `false`
Constant values: src/org/intellij/grammar/BnfFindUsagesProvider.java#L28
Condition `psiElement instanceof BnfRule || psiElement instanceof BnfAttr` is always `true`
Constant values: src/org/intellij/grammar/inspection/BnfUnusedRuleInspection.java#L45
Condition `!(file instanceof BnfFile)` is always `false`
Constant values: src/org/intellij/grammar/fleet/BnfRunFleetJFlexAction.java#L37
Condition `project == null` is always `true`
Constant values: src/org/intellij/grammar/Main.java#L155
Condition `count == 0` is always `true`
Constant values: src/org/intellij/jflex/psi/impl/JFlexJavaCodeInjector.java#L38
Condition `!(context instanceof JFlexJavaCodeInjectionHostImpl)` is always `false`
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L63
Condition `c1 == null || c1 instanceof BnfExpression` is always `true`
Constant values: src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java#L53
Condition `parent instanceof BnfSequence || parent instanceof BnfQuantified` is always `false`
Constant values: src/org/intellij/jflex/psi/impl/JFlexPsiImplUtil.java#L88
Condition `!(element instanceof JFlexLexicalRulesSection)` is always `false`
Constant values: src/org/intellij/grammar/editor/BnfPinMarkerAnnotator.java#L34
Condition `!(psiElement instanceof BnfRule)` is always `false`
Constant values: src/org/intellij/grammar/livePreview/GrammarAtCaretPassFactory.java#L48
Condition `!(file instanceof BnfFile)` is always `false`
Constant values: src/org/intellij/jflex/psi/impl/JFlexPsiImplUtil.java#L88
Condition `!(element instanceof JFlexLexicalRulesSection) && !(element instanceof JFlexUserCod...` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L114
Condition `first == last` is always `true`
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L66
Condition `!f1` is always `false`
Constant values: src/org/intellij/grammar/editor/BnfWordSelectioner.java#L24
Condition `e instanceof BnfComposite || e instanceof LeafPsiElement && ((LeafPsiElement)e).getElemen...` is always `true`
Constant values: src/org/intellij/grammar/intention/BnfFlipChoiceIntention.java#L57
Condition `!(cur instanceof BnfExpression)` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L91
Condition `first == last` is always `true`
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L65
Condition `f2` is always `true`
Constant values: src/org/intellij/grammar/refactor/BnfInlineRuleProcessor.java#L135
Condition `parent == null` is always `true` when reached
Constant values: src/org/intellij/grammar/diagram/BnfDiagramProvider.java#L101
Condition `item instanceof PsiNamedElement` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java#L115
Condition `first == last && last instanceof PsiWhiteSpace` is always `true`
Constant values: src/org/intellij/grammar/refactor/BnfIntroduceRuleHandler.java#L253
Condition `!(c instanceof BnfExpression)` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java#L115
Condition `first == last` is always `true`
Constant values: src/org/intellij/jflex/editor/JFlexRefactoringSupportProvider.java#L17
Condition `psiElement instanceof JFlexComposite && psiElement instanceof PsiNamedElement` is always `true`
Constant values: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L114
Condition `first == last && last instanceof PsiWhiteSpace` is always `true`
Constant values: src/org/intellij/grammar/parser/GeneratedParserUtilBase.java#L768
Condition `!(marker instanceof PsiBuilder.Marker)` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java#L51
Condition `cur instanceof BnfChoice && !(parent instanceof BnfParenthesized) && (...` is always `false`
Constant values: src/org/intellij/grammar/BnfFoldingBuilder.java#L29
Condition `!(root instanceof BnfFile)` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L91
Condition `last == null` is always `false`
Constant values: src/org/intellij/grammar/BnfFoldingBuilder.java#L74
Condition `psi instanceof BnfAttrs && !(psi.getParent() instanceof BnfRule)` is always `false` when reached
Constant values: src/org/intellij/grammar/livePreview/LivePreviewStructureViewFactory.java#L140
Condition `element != null` is always `false`
Constant values: src/org/intellij/grammar/generator/RuleGraphHelper.java#L52
Condition `e1 instanceof BnfLiteralExpression && e2 instanceof BnfLiteralExpression` is always `false` when reached
Constant values: src/org/intellij/grammar/editor/BnfExpressionMarkerAnnotator.java#L18
Condition `!(psiElement instanceof BnfRule)` is always `false`
Constant values: src/org/intellij/grammar/inspection/BnfResolveInspection.java#L73
Condition `parent instanceof BnfAttr || parent instanceof BnfListEntry` is always `false`
Constant values: src/org/intellij/grammar/generator/RuleGraphHelper.java#L642
Condition `isExternalPsi(element)` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L114
Condition `first == null || last == null || first == last && last instanceof PsiWhiteSpace` is always `true`
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L67
Condition `f1 || !f2` is always `true`
Constant values: src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java#L89
Condition `cur instanceof BnfChoice && parent instanceof BnfChoice` is always `false`
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L67
Condition `f1` is always `true`
Constant values: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L114
Condition `last == null` is always `false`
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L66
Condition `!f1 || f2` is always `true`
Constant values: src/org/intellij/grammar/livePreview/LivePreviewStructureViewFactory.java#L90
Condition `element == null || element instanceof LeafPsiElement` is always `true`
Constant values: src/org/intellij/grammar/generator/ParserGenerator.java#L755
Condition `frameName == null` is always `true`
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L64
Condition `c2 == null || c2 instanceof BnfExpression` is always `true`
Constant values: src/org/intellij/jflex/editor/JFlexFindUsagesProvider.java#L34
Condition `psiElement instanceof JFlexComposite && psiElement instanceof PsiNamedElement` is always `true`
Constant values: src/org/intellij/grammar/generator/RuleMethodsHelper.java#L149
Condition `!(tree instanceof BnfRule)` is always `false`
Constant values: src/org/intellij/grammar/inspection/BnfInspectionSuppressor.java#L60
Condition `e instanceof BnfSequence && e.getTextLength() == 0` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L91
Condition `first == null || last == null || first == last && last instanceof PsiWhiteSpace` is always `true`
Constant values: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L91
Condition `first == last && last instanceof PsiWhiteSpace` is always `true`
Constant values: src/org/intellij/grammar/psi/impl/GrammarUtil.java#L66
Condition `f2` is always `true` when reached
Constant values: src/org/intellij/grammar/BnfCompletionContributor.java#L181
Condition `!(parent instanceof BnfRule)` is always `true`
Constant values: src/org/intellij/grammar/generator/RuleGraphHelper.java#L391
Condition `tree instanceof BnfExternalExpression` is always `false`
Constant values: src/org/intellij/grammar/psi/impl/BnfStringRegexpInjector.java#L24
Condition `!(host instanceof BnfStringImpl)` is always `false`
Constant values: src/org/intellij/grammar/inspection/BnfInspectionSuppressor.java#L40
Condition `!(element instanceof BnfComposite)` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfInlineRuleProcessor.java#L163
Condition `!(parent instanceof BnfExternalExpression)` is always `false`
Constant values: src/org/intellij/grammar/generator/RuleGraphHelper.java#L642
Condition `isExternalPsi(element) && !element.getText().startsWith("#") && !isDoubleAngles(element.getText())` is always `false`
Constant values: src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java#L115
Condition `first == null || last == null || first == last && last instanceof PsiWhiteSpace` is always `true`
Constant values: src/org/intellij/grammar/generator/RuleGraphHelper.java#L718
Condition `isExternalPsi(required)` is always `false` when reached
Constant values: src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java#L115
Condition `last == null` is always `false`
Nullability and data flow problems: src/org/intellij/grammar/fleet/FleetBnfFileWrapper.java#L55
Method invocation `forceCachedPsi` may produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/grammar/actions/FileGeneratorUtil.java#L61
Method invocation `equals` may produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/grammar/BnfDocumentationProvider.java#L140
Method invocation `getText` will produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/grammar/generator/ParserGenerator.java#L1161
Method invocation `getText` will produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/grammar/generator/ParserGenerator.java#L1941
Method invocation `getName` may produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/jflex/psi/impl/StateRef.java#L82
Method invocation `toString` will produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/grammar/generator/RuleGraphHelper.java#L486
Method invocation `getParent` will produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/grammar/generator/ParserGeneratorUtil.java#L236
Method invocation `getNode` will produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/grammar/generator/RuleGraphHelper.java#L358
Condition `tree instanceof BnfReferenceOrToken` is redundant and can be replaced with a null check
Nullability and data flow problems: src/org/intellij/grammar/generator/ParserGeneratorUtil.java#L208
Method invocation `getFirstChild` will produce `NullPointerException`
Collection declared by class, not interface: src/org/intellij/grammar/analysis/BnfFirstNextAnalyzer.java#L106
Declaration of `HashSet` should probably be weakened to 'java.util.Set'
Collection declared by class, not interface: src/org/intellij/grammar/inspection/BnfUnreachableChoiceBranchInspection.java#L42
Declaration of `HashSet` should probably be weakened to 'java.util.Set'
Collection declared by class, not interface: src/org/intellij/grammar/inspection/BnfIdenticalChoiceBranchesInspection.java#L32
Declaration of `HashSet` should probably be weakened to 'java.util.Set'
Collection declared by class, not interface: src/org/intellij/grammar/livePreview/LivePreviewStructureViewFactory.java#L91
Declaration of `ArrayList` should probably be weakened to 'java.util.List'
Collection declared by class, not interface: src/org/intellij/grammar/refactor/BnfInlineRuleProcessor.java#L139
Declaration of `LinkedList` should probably be weakened to 'java.util.Deque'
Class is closed to inheritance: src/org/intellij/grammar/BnfDocumentationProvider.java#L33
Class 'BnfDocumentationProvider' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexCommenter.java#L15
Class 'JFlexCommenter' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/livePreview/LivePreviewSyntaxHighlighterFactory.java#L26
Class 'LivePreviewSyntaxHighlighterFactory' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfASTFactory.java#L17
Class 'BnfASTFactory' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexQuoteHandler.java#L14
Class 'JFlexQuoteHandler' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java#L31
Class 'BnfUnwrapDescriptor' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexStructureViewFactory.java#L32
Class 'JFlexStructureViewFactory' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/psi/impl/BnfStringManipulator.java#L14
Class 'BnfStringManipulator' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/inspection/BnfUnreachableChoiceBranchInspection.java#L28
Class 'BnfUnreachableChoiceBranchInspection' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfQuoteHandler.java#L14
Class 'BnfQuoteHandler' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfSpellCheckingStrategy.java#L15
Class 'BnfSpellCheckingStrategy' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/inspection/BnfSuspiciousTokenInspection.java#L28
Class 'BnfSuspiciousTokenInspection' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfColorSettingsPage.java#L26
Class 'BnfColorSettingsPage' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/inspection/BnfInspectionSuppressor.java#L28
Class 'BnfInspectionSuppressor' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexAnnotator.java#L20
Class 'JFlexAnnotator' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfBraceMatcher.java#L17
Class 'BnfBraceMatcher' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/psi/impl/JFlexJavaCodeInjector.java#L29
Class 'JFlexJavaCodeInjector' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/refactor/BnfRefactoringSupportProvider.java#L19
Class 'BnfRefactoringSupportProvider' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexBraceMatcher.java#L19
Class 'JFlexBraceMatcher' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/parser/JFlexFileType.java#L15
Class 'JFlexFileType' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/intention/BnfFlipChoiceIntention.java#L26
Class 'BnfFlipChoiceIntention' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/parser/JFlexParserDefinition.java#L25
Class 'JFlexParserDefinition' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/psi/impl/BnfStringRegexHost.java#L12
Class 'BnfStringRegexHost' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfWordSelectioner.java#L21
Class 'BnfWordSelectioner' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfTokenSets.java#L11
Class 'BnfTokenSets' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/psi/BnfAttrPatternRefSearcher.java#L21
Class 'BnfAttrPatternRefSearcher' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/inspection/BnfDuplicateRuleInspection.java#L27
Class 'BnfDuplicateRuleInspection' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfExpressionMarkerAnnotator.java#L15
Class 'BnfExpressionMarkerAnnotator' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/inspection/BnfUnusedRuleInspection.java#L36
Class 'BnfUnusedRuleInspection' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/psi/impl/JFlexJavaCodeManipulator.java#L16
Class 'JFlexJavaCodeManipulator' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/inspection/BnfLeftRecursionInspection.java#L22
Class 'BnfLeftRecursionInspection' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfCompletionContributor.java#L46
Class 'BnfCompletionContributor' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexCompletionContributor.java#L42
Class 'JFlexCompletionContributor' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/psi/JFlexTokenSets.java#L13
Class 'JFlexTokenSets' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/psi/impl/BnfStringRegexpInjector.java#L21
Class 'BnfStringRegexpInjector' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/inspection/BnfUnusedAttributeInspection.java#L22
Class 'BnfUnusedAttributeInspection' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexSyntaxHighlighterFactory.java#L27
Class 'JFlexSyntaxHighlighterFactory' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/inspection/BnfResolveInspection.java#L30
Class 'BnfResolveInspection' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfMoveLeftRightHandler.java#L14
Class 'BnfMoveLeftRightHandler' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/refactor/BnfNamesValidator.java#L16
Class 'BnfNamesValidator' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfDescriptionProvider.java#L27
Class 'BnfDescriptionProvider' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/diagram/BnfDiagramProvider.java#L47
Class 'BnfDiagramProvider' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/livePreview/GrammarAtCaretPassFactory.java#L36
Class 'GrammarAtCaretPassFactory' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/GrammarKitBundle.java#L18
Class 'GrammarKitBundle' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/psi/impl/JFlexStateUsageSearcher.java#L27
Class 'JFlexStateUsageSearcher' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfStructureViewFactory.java#L32
Class 'BnfStructureViewFactory' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexRefactoringSupportProvider.java#L14
Class 'JFlexRefactoringSupportProvider' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/parser/JFlexASTFactory.java#L17
Class 'JFlexASTFactory' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfAnnotator.java#L31
Class 'BnfAnnotator' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfPinMarkerAnnotator.java#L31
Class 'BnfPinMarkerAnnotator' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfFileType.java#L17
Class 'BnfFileType' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexFindUsagesProvider.java#L26
Class 'JFlexFindUsagesProvider' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfFindUsagesProvider.java#L20
Class 'BnfFindUsagesProvider' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfSyntaxHighlighterFactory.java#L18
Class 'BnfSyntaxHighlighterFactory' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfFoldingBuilder.java#L22
Class 'BnfFoldingBuilder' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfRuleLineMarkerProvider.java#L35
Class 'BnfRuleLineMarkerProvider' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/editor/BnfRecursionLineMarkerProvider.java#L28
Class 'BnfRecursionLineMarkerProvider' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/BnfCommenter.java#L13
Class 'BnfCommenter' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/intention/BnfConvertOptExpressionIntention.java#L22
Class 'BnfConvertOptExpressionIntention' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/refactor/BnfInlineRuleActionHandler.java#L31
Class 'BnfInlineRuleActionHandler' declared `final`
Class is closed to inheritance: src/org/intellij/jflex/editor/JFlexColorSettingsPage.java#L26
Class 'JFlexColorSettingsPage' declared `final`
Class is closed to inheritance: src/org/intellij/grammar/inspection/BnfIdenticalChoiceBranchesInspection.java#L27
Class 'BnfIdenticalChoiceBranchesInspection' declared `final`
Marker interface: src/org/intellij/jflex/psi/impl/JFlexFile.java#L12
Marker interface `JFlexFile`
Method can be made 'static': src/org/intellij/grammar/livePreview/LivePreviewParser.java#L536
Method `generateConsumeTextToken()` may be 'static'
Method can be made 'static': src/org/intellij/grammar/livePreview/LivePreviewParser.java#L532
Method `generateConsumeToken()` may be 'static'
Mismatched query and update of collection: src/org/intellij/grammar/java/JavaHelper.java#L1032
Contents of collection `typeParameters` are updated, but never queried
Redundant type cast: src/org/intellij/grammar/generator/ParserGeneratorUtil.java#L939
Casting `TEXT_STRATEGY` to `Hash.Strategy<T>` is redundant
Redundant type cast: src/org/intellij/grammar/generator/ParserGeneratorUtil.java#L414
Casting `result` to `JBIterable<?>` is redundant
Redundant type cast: src/org/intellij/grammar/generator/ParserGeneratorUtil.java#L414
Casting `(JBIterable<?>)result` to `JBIterable<BnfRule>` is redundant
Method is identical to its super method: src/org/intellij/jflex/psi/impl/JFlexCompositeImpl.java#L28
Method `accept()` is identical to its super method
Method is identical to its super method: src/org/intellij/grammar/psi/impl/BnfCompositeImpl.java#L25
Method `accept()` is identical to its super method
Singleton: src/org/intellij/jflex/parser/JFlexFileType.java#L15
Class `JFlexFileType` is a singleton
Singleton: src/org/intellij/grammar/BnfLanguage.java#L15
Class `BnfLanguage` is a singleton
Singleton: src/org/intellij/jflex/JFlexLanguage.java#L10
Class `JFlexLanguage` is a singleton
Singleton: src/org/intellij/grammar/BnfFileType.java#L17
Class `BnfFileType` is a singleton
Singleton: src/org/intellij/grammar/GrammarKitBundle.java#L18
Class `GrammarKitBundle` is a singleton
'size() == 0' can be replaced with 'isEmpty()': src/org/intellij/grammar/generator/NameShortener.java#L121
`s.substring(prefix[3] + 1, offset).trim().length() > 0` can be replaced with '!s.substring(prefix\[3\] + 1, offset).trim().isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/org/intellij/grammar/BnfDocumentationProvider.java#L91
`sortedPublicRules.size() > 0` can be replaced with '!sortedPublicRules.isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/org/intellij/grammar/java/JavaHelper.java#L944
`sb.length() == 0` can be replaced with 'sb.isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/org/intellij/grammar/diagram/BnfDiagramProvider.java#L151
`parts.size() < 1` can be replaced with 'parts.isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/org/intellij/grammar/generator/ParserGenerator.java#L1207
`expressions.size() > 0` can be replaced with '!expressions.isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/org/intellij/grammar/livePreview/LivePreviewParser.java#L432
`expressions.size() > 0` can be replaced with '!expressions.isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/org/intellij/grammar/BnfDocumentationProvider.java#L97
`sortedTokens.size() > 0` can be replaced with '!sortedTokens.isEmpty()'
Static collection: src/org/intellij/grammar/psi/impl/BnfStringRefContributor.java#L29
Static collection `JAVA_CLASS_ATTRIBUTES`
Static collection: src/org/intellij/grammar/KnownAttribute.java#L27
Static collection `EMPTY_LIST`
Static collection: src/org/intellij/grammar/KnownAttribute.java#L22
Static collection `ourAttributes`
Static collection: src/org/intellij/grammar/psi/impl/BnfStringImpl.java#L34
Static collection `ourProviders`
Suspicious collection method call: src/org/intellij/grammar/generator/RuleGraphHelper.java#L797
'Map' may not contain keys of type 'BnfRule'
Suspicious collection method call: src/org/intellij/grammar/analysis/BnfFirstNextAnalyzer.java#L124
'List' may not contain objects of type 'PsiElement'
Suspicious collection method call: src/org/intellij/grammar/generator/RuleGraphHelper.java#L455
'Map' may not contain keys of type 'BnfExpression'
Suspicious collection method call: src/org/intellij/grammar/generator/RuleGraphHelper.java#L795
'Map' may not contain keys of type 'BnfRule'
Call to 'printStackTrace()': src/org/intellij/grammar/Main.java#L161
Call to `printStackTrace()` should probably be replaced with more robust logging
Redundant 'if' statement: src/org/intellij/grammar/java/JavaHelper.java#L1012
`if` statement can be simplified
Unused import: src/org/intellij/grammar/generator/ParserGenerator.java#L34
Unused import `import java.util.HashMap;`
Unused import: src/org/intellij/grammar/generator/ParserGenerator.java#L35
Unused import `import java.util.HashSet;`
Unused import: src/org/intellij/grammar/java/JavaHelper.java#L31
Unused import `import java.lang.reflect.Type;`
Unused import: src/org/intellij/jflex/parser/JFlexASTFactory.java#L12
Unused import `import org.jetbrains.annotations.Nullable;`
Unused import: src/org/intellij/grammar/BnfASTFactory.java#L12
Unused import `import org.jetbrains.annotations.Nullable;`
Unused import: src/org/intellij/grammar/livePreview/LivePreviewFileType.java#L13
Unused import `import org.jetbrains.annotations.Nullable;`
Inspect code
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Inspect code
You are running a Qodana linter without an exact version tag: jetbrains/qodana-jvm-community:latest
Inspect code
You are running a Qodana linter without an exact version tag: jetbrains/qodana-jvm-community:latest
Inspect code
You are running a Qodana linter without an exact version tag: jetbrains/qodana-jvm-community:latest
Verify plugin
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Release draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Constant values: src/org/intellij/grammar/java/JavaHelper.java#L246
Value `method` is always 'null'
Constant values: src/org/intellij/grammar/BnfCompletionContributor.java#L181
Value `parent` is always 'null'
Constant values: src/org/intellij/grammar/BnfStructureViewFactory.java#L119
Value `element` is always 'null'
Constant values: src/org/intellij/grammar/java/JavaHelper.java#L258
Value `method` is always 'null'
Constant values: src/org/intellij/grammar/BnfDocumentationProvider.java#L75
Value `element` is always 'null'
Constant values: src/org/intellij/grammar/BnfFoldingBuilder.java#L64
Value `psi` is always 'null'
Constant values: src/org/intellij/grammar/livePreview/LivePreviewParser.java#L234
Value `pinApplied` is always 'true'
Constant values: src/org/intellij/grammar/BnfStructureViewFactory.java#L93
Value `element` is always 'null'
Constant values: src/org/intellij/grammar/java/JavaHelper.java#L229
Value `method` is always 'null'
Constant values: src/org/intellij/grammar/fleet/FleetBnfFileWrapper.java#L48
Value `viewProvider` is always 'null'
Constant values: src/org/intellij/jflex/psi/impl/JFlexJavaCodeInjector.java#L88
Value `hostParent` is always 'null'
Constant values: src/org/intellij/grammar/BnfStructureViewFactory.java#L105
Value `element` is always 'null'
Constant values: src/org/intellij/jflex/psi/impl/StateRef.java#L78
Value `e` is always 'null'
Constant values: src/org/intellij/grammar/fleet/FleetBnfFileWrapper.java#L54
Value `viewProvider` is always 'null'
Constant values: src/org/intellij/grammar/BnfStructureViewFactory.java#L122
Value `element` is always 'null'
Constant values: src/org/intellij/grammar/generator/RuleGraphHelper.java#L642
Value `element` is always 'null'
Constant values: src/org/intellij/grammar/generator/GeneratorBase.java#L146
Value `packageName` is always 'null'
Constant values: src/org/intellij/grammar/livePreview/LivePreviewParser.java#L230
Value `pinApplied` is always 'true'
Constant values: src/org/intellij/grammar/livePreview/LivePreviewParser.java#L237
Value `pinApplied` is always 'true'
Constant values: src/org/intellij/grammar/fleet/FleetBnfFileWrapper.java#L55
Value `viewProvider` is always 'null'
Constant values: src/org/intellij/grammar/generator/RuleGraphHelper.java#L718
Value `required` is always 'null'
Constant values: src/org/intellij/grammar/psi/impl/BnfReferenceImpl.java#L65
Value `parent` is always 'null'
Constant values: src/org/intellij/grammar/BnfStructureViewFactory.java#L74
Value `element` is always 'null'
Constant values: src/org/intellij/grammar/BnfFoldingBuilder.java#L74
Value `psi` is always 'null'
Constant values: src/org/intellij/grammar/livePreview/LivePreviewParser.java#L227
Value `pinApplied` is always 'true'
Constant values: src/org/intellij/grammar/BnfStructureViewFactory.java#L97
Value `element` is always 'null'
Constant values: src/org/intellij/grammar/java/JavaHelper.java#L281
Value `method` is always 'null'
Constant values: src/org/intellij/grammar/java/JavaHelper.java#L275
Value `element` is always 'null'
Constant values: src/org/intellij/grammar/BnfStructureViewFactory.java#L132
Value `element` is always 'null'
Constant values: src/org/intellij/jflex/psi/impl/JFlexJavaCodeInjector.java#L100
Value `hostParent` is always 'null'
Constant values: src/org/intellij/grammar/BnfFoldingBuilder.java#L65
Value `psi` is always 'null'
Constant values: src/org/intellij/grammar/BnfStructureViewFactory.java#L129
Value `element` is always 'null'
Constant values: src/org/intellij/grammar/java/JavaHelper.java#L267
Value `method` is always 'null'

Artifacts

Produced during runtime
Name Size
Grammar-Kit-2023.3
798 KB
pluginVerifier-result
19 KB