Skip to content

Merge pull request #365 from JetBrains/dependabot/gradle/master/org.j… #114

Merge pull request #365 from JetBrains/dependabot/gradle/master/org.j…

Merge pull request #365 from JetBrains/dependabot/gradle/master/org.j… #114

Triggered via push June 18, 2024 07:03
Status Success
Total duration 9m 57s
Artifacts 2

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

165 warnings and 8 notices
Build
This job uses deprecated functionality from the 'gradle/wrapper-validation-action' action. Consult the logs for more details.
Test
Codecov: Failed to properly create commit: 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/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#L225
Class `ConsumeType` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/ExpressionGeneratorHelper.java#L228
Class `ConsumeType` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/GenOptions.java#L20
Class `Names` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/ParserGenerator.java#L1480
Class `ConsumeType` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/org/intellij/grammar/generator/ParserGenerator.java#L1480
Class `NodeCall` 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
Nullability and data flow problems: src/org/intellij/grammar/refactor/BnfIntroduceTokenHandler.java#L123
The call to 'rethrowAllAsUnchecked' always fails, according to its method contracts
Nullability and data flow problems: src/org/intellij/grammar/livePreview/LivePreviewParser.java#L602
Method invocation `getTokenType` may produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/grammar/refactor/BnfInlineRuleProcessor.java#L164
Method invocation `getModifierList` may produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/jflex/parser/JFlexASTFactory.java#L20
@nullable method 'createComposite' always returns a non-null value
Nullability and data flow problems: src/org/intellij/grammar/livePreview/LivePreviewParser.java#L625
Method invocation `precede` may produce `NullPointerException`
Nullability and data flow problems: src/org/intellij/grammar/BnfASTFactory.java#L20
@nullable method 'createComposite' always returns a non-null value
Nullability and data flow problems: src/org/intellij/grammar/analysis/BnfFirstNextAnalyzer.java#L278
Method invocation `resolve` may produce `NullPointerException`
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/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/refactor/BnfInlineRuleProcessor.java#L139
Declaration of `LinkedList` should probably be weakened to 'java.util.Deque'
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/analysis/BnfFirstNextAnalyzer.java#L106
Declaration of `HashSet` should probably be weakened to 'java.util.Set'
Deprecated API usage: src/org/intellij/grammar/editor/BnfSyntaxHighlighter.java#L45
'createTextAttributesKey(java.lang.@org.jetbrains.annotations.NonNls @org.jetbrains.annotations.NotNull String, com.intellij.openapi.editor.markup.TextAttributes)' is deprecated
Incorrect string capitalization: src/org/intellij/grammar/livePreview/LivePreviewFileType.java#L34
String 'Grammar-Kit BNF Live Preview' is not properly capitalized. It should have sentence capitalization
Incorrect string capitalization: src/org/intellij/grammar/parser/GeneratedParserUtilBase.java#L785
String 'unmatched input' is not properly capitalized. It should have sentence capitalization
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/editor/BnfRuleLineMarkerProvider.java#L35
Class 'BnfRuleLineMarkerProvider' 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/jflex/parser/JFlexParserDefinition.java#L25
Class 'JFlexParserDefinition' 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/BnfASTFactory.java#L17
Class 'BnfASTFactory' 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/BnfResolveInspection.java#L30
Class 'BnfResolveInspection' 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/livePreview/LivePreviewSyntaxHighlighterFactory.java#L26
Class 'LivePreviewSyntaxHighlighterFactory' 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/jflex/editor/JFlexFindUsagesProvider.java#L26
Class 'JFlexFindUsagesProvider' 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/jflex/parser/JFlexFileType.java#L15
Class 'JFlexFileType' 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/grammar/BnfDocumentationProvider.java#L33
Class 'BnfDocumentationProvider' 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/grammar/inspection/BnfInspectionSuppressor.java#L28
Class 'BnfInspectionSuppressor' 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/inspection/BnfDuplicateRuleInspection.java#L27
Class 'BnfDuplicateRuleInspection' 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/grammar/BnfCompletionContributor.java#L46
Class 'BnfCompletionContributor' 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/grammar/inspection/BnfIdenticalChoiceBranchesInspection.java#L27
Class 'BnfIdenticalChoiceBranchesInspection' 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/jflex/editor/JFlexColorSettingsPage.java#L26
Class 'JFlexColorSettingsPage' 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/BnfStructureViewFactory.java#L32
Class 'BnfStructureViewFactory' 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/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/BnfTokenSets.java#L11
Class 'BnfTokenSets' 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/editor/BnfMoveLeftRightHandler.java#L14
Class 'BnfMoveLeftRightHandler' 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/BnfFoldingBuilder.java#L22
Class 'BnfFoldingBuilder' 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/editor/BnfWordSelectioner.java#L21
Class 'BnfWordSelectioner' 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/BnfFileType.java#L17
Class 'BnfFileType' 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/jflex/editor/JFlexQuoteHandler.java#L14
Class 'JFlexQuoteHandler' 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/inspection/BnfLeftRecursionInspection.java#L22
Class 'BnfLeftRecursionInspection' 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/JFlexJavaCodeManipulator.java#L16
Class 'JFlexJavaCodeManipulator' 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/editor/BnfSpellCheckingStrategy.java#L15
Class 'BnfSpellCheckingStrategy' 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/inspection/BnfUnusedAttributeInspection.java#L22
Class 'BnfUnusedAttributeInspection' 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/grammar/diagram/BnfDiagramProvider.java#L47
Class 'BnfDiagramProvider' 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/editor/BnfColorSettingsPage.java#L26
Class 'BnfColorSettingsPage' 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/intention/BnfFlipChoiceIntention.java#L26
Class 'BnfFlipChoiceIntention' 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/BnfAnnotator.java#L31
Class 'BnfAnnotator' 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/editor/BnfSyntaxHighlighterFactory.java#L18
Class 'BnfSyntaxHighlighterFactory' 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/grammar/editor/BnfPinMarkerAnnotator.java#L31
Class 'BnfPinMarkerAnnotator' 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
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/grammar/BnfFileType.java#L17
Class `BnfFileType` is a singleton
Singleton: src/org/intellij/jflex/JFlexLanguage.java#L10
Class `JFlexLanguage` is a singleton
Singleton: src/org/intellij/grammar/BnfLanguage.java#L15
Class `BnfLanguage` is a singleton
Singleton: src/org/intellij/grammar/GrammarKitBundle.java#L18
Class `GrammarKitBundle` is a singleton
Singleton: src/org/intellij/jflex/parser/JFlexFileType.java#L15
Class `JFlexFileType` is a singleton
'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/BnfDocumentationProvider.java#L111
`sortedPublicRules.size() > 0` can be replaced with '!sortedPublicRules.isEmpty()'
'size() == 0' can be replaced with 'isEmpty()': src/org/intellij/grammar/generator/ParserGenerator.java#L1356
`expressions.size() > 0` can be replaced with '!expressions.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/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/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#L117
`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/psi/impl/BnfStringImpl.java#L34
Static collection `ourProviders`
Static collection: src/org/intellij/grammar/KnownAttribute.java#L22
Static collection `ourAttributes`
Call to 'printStackTrace()': src/org/intellij/grammar/Main.java#L84
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
Unnecessarily qualified static access: src/org/intellij/grammar/livePreview/LivePreviewLanguage.java#L104
Unnecessarily qualified call to static method `Language.getRegisteredLanguages()`
Unstable API Usage: src/org/intellij/grammar/actions/BnfGenerateParserUtilAction.java#L118
'com.intellij.openapi.util.NlsContexts.DialogTitle' is declared in unstable class 'com.intellij.openapi.util.NlsContexts' marked with @ApiStatus.Experimental
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L201
'registerExtensionPoint(java.lang.String, java.lang.String, com.intellij.openapi.extensions.ExtensionPoint.Kind, boolean)' is declared in unstable 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' marked with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L201
'getExtensionArea()' is unstable because its signature references unstable 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' marked with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L195
'registerExtension(@org.jetbrains.annotations.NotNull T, com.intellij.openapi.@org.jetbrains.annotations.NotNull Disposable)' is declared in unstable class 'com.intellij.openapi.extensions.impl.ExtensionPointImpl' marked with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L199
'registerExtensionPoint(java.lang.String, java.lang.String, com.intellij.openapi.extensions.ExtensionPoint.Kind, boolean)' is declared in unstable 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' marked with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/actions/BnfGenerateParserUtilAction.java#L118
'com.intellij.openapi.util.NlsContexts' is marked unstable with @ApiStatus.Experimental
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L196
'registerExtensionPoint(java.lang.String, java.lang.String, com.intellij.openapi.extensions.ExtensionPoint.Kind, boolean)' is declared in unstable 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' marked with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L195
'getExtensionPoint(java.lang.String)' is declared in unstable 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' marked with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/actions/BnfGenerateParserUtilAction.java#L134
'com.intellij.openapi.util.NlsContexts.Command' is declared in unstable class 'com.intellij.openapi.util.NlsContexts' marked with @ApiStatus.Experimental
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L194
'registerExtensionPoint(java.lang.String, java.lang.String, com.intellij.openapi.extensions.ExtensionPoint.Kind, boolean)' is declared in unstable 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' marked with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L193
'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' is marked unstable with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/actions/BnfGenerateParserUtilAction.java#L134
'com.intellij.openapi.util.NlsContexts' is marked unstable with @ApiStatus.Experimental
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L198
'registerExtensionPoint(java.lang.String, java.lang.String, com.intellij.openapi.extensions.ExtensionPoint.Kind, boolean)' is declared in unstable 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' marked with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L193
'getExtensionArea()' is unstable because its signature references unstable 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' marked with @ApiStatus.Internal
Unstable API Usage: src/org/intellij/grammar/LightPsi.java#L197
'registerExtensionPoint(java.lang.String, java.lang.String, com.intellij.openapi.extensions.ExtensionPoint.Kind, boolean)' is declared in unstable 'com.intellij.openapi.extensions.impl.ExtensionsAreaImpl' marked with @ApiStatus.Internal
Verify plugin
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 28 MB
Verify plugin
Failed to save cache entry with path '/home/runner/.gradle/caches/modules-*/files-*/*/*/*/*' and key: gradle-dependencies-v1-ac674e08332f13ffead6fc4d63455b08: Error: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
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/livePreview/LivePreviewParser.java#L234
Value `pinApplied` is always 'true'
Constant values: src/org/intellij/grammar/livePreview/LivePreviewParser.java#L227
Value `pinApplied` is always 'true'
Method can be extracted: src/org/intellij/grammar/java/JavaHelper.java#L291
It's possible to extract method returning 'textToSkip' from a long surrounding method

Artifacts

Produced during runtime
Name Size
Grammar-Kit-2022.3.2 Expired
781 KB
pluginVerifier-result Expired
29.3 KB