Skip to content

build(deps): bump JetBrains/qodana-action from 2024.1.9 to 2024.2.2 (… #129

build(deps): bump JetBrains/qodana-action from 2024.1.9 to 2024.2.2 (…

build(deps): bump JetBrains/qodana-action from 2024.1.9 to 2024.2.2 (… #129

GitHub Actions / Qodana Community for JVM completed Sep 18, 2024 in 0s

327 new problems found by Qodana Community for JVM

Qodana Community for JVM

327 new problems were found

Inspection name Severity Problems
Class is closed to inheritance 🔶 Warning 65
Constant values 🔶 Warning 60
Condition is covered by further condition 🔶 Warning 18
Nullability and data flow problems 🔶 Warning 16
'protected' member in 'final' class 🔶 Warning 12
Suspicious collection method call 🔶 Warning 11
'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
Redundant type cast 🔶 Warning 3
Redundant 'if' statement 🔶 Warning 3
Unused import 🔶 Warning 3
Method can be made 'static' 🔶 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
Caught exception is immediately rethrown 🔶 Warning 1
Redundant 'Collection.addAll()' call 🔶 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
Constant values ◽️ Notice 74
Commented out code ◽️ Notice 3

💡 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:

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]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 103 in src/org/intellij/grammar/actions/FileGeneratorUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Caught exception is immediately rethrown

Caught exception `ex` is immediately rethrown

Check warning on line 20 in src/org/intellij/grammar/generator/GenOptions.java

See this annotation in the file changed.

@github-actions 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 228 in src/org/intellij/grammar/generator/ExpressionGeneratorHelper.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 152 in src/org/intellij/grammar/livePreview/LivePreviewLexer.java

See this annotation in the file changed.

@github-actions 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 1480 in src/org/intellij/grammar/generator/ParserGenerator.java

See this annotation in the file changed.

@github-actions 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 225 in src/org/intellij/grammar/generator/ExpressionGeneratorHelper.java

See this annotation in the file changed.

@github-actions 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 68 in src/org/intellij/grammar/inspection/BnfUnusedRuleInspection.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (2 lines)

Check notice on line 21 in src/org/intellij/grammar/editor/BnfExpressionMarkerAnnotator.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (4 lines)

Check notice on line 174 in src/org/intellij/grammar/livePreview/LivePreviewParser.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Commented out code

Commented out code (3 lines)

Check warning on line 92 in src/org/intellij/grammar/BnfStructureViewFactory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'element instanceof BnfRule' covered by subsequent condition 'element instanceof BnfAttr'

Check warning on line 51 in src/org/intellij/grammar/generator/RuleGraphHelper.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'e1 instanceof BnfReferenceOrToken \&\& e2 instanceof BnfReferenceOrToken' covered by subsequent condition 'e1 instanceof BnfLiteralExpression \&\& e2 instanceof BnfLiteralExpression'

Check warning on line 96 in src/org/intellij/grammar/refactor/BnfUnwrapDescriptor.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'parent instanceof BnfQuantified' covered by subsequent condition 'parent instanceof BnfPredicate'

Check warning on line 500 in src/org/intellij/grammar/generator/ParserGeneratorUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'tree instanceof BnfReferenceOrToken' covered by subsequent condition 'tree instanceof BnfLiteralExpression'

Check warning on line 304 in src/org/intellij/grammar/generator/RuleGraphHelper.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'e instanceof BnfReferenceOrToken' covered by subsequent condition 'e instanceof BnfStringLiteralExpression'

Check warning on line 183 in src/org/intellij/grammar/BnfCompletionContributor.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'next instanceof PsiComment' covered by subsequent condition 'next instanceof PsiWhiteSpace'

Check warning on line 74 in src/org/intellij/grammar/BnfStructureViewFactory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'element instanceof BnfAttrs' covered by subsequent condition 'element instanceof BnfRule'

Check warning on line 293 in src/org/intellij/grammar/generator/RuleGraphHelper.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'o instanceof BnfPredicate' covered by subsequent condition 'o instanceof BnfExternalExpression'

Check warning on line 106 in src/org/intellij/grammar/editor/BnfAnnotator.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'parent instanceof BnfAttrPattern' covered by subsequent condition 'parent instanceof BnfAttr'

Check warning on line 78 in src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'cur instanceof BnfQuantified' covered by subsequent condition 'cur instanceof BnfParenOptExpression'

Check warning on line 143 in src/org/intellij/grammar/refactor/BnfExpressionOptimizer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'element instanceof BnfReferenceOrToken' covered by subsequent condition 'element instanceof BnfLiteralExpression'

Check warning on line 116 in src/org/intellij/grammar/editor/BnfAnnotator.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'parent instanceof BnfAttr' covered by subsequent condition 'parent instanceof BnfListEntry'

Check warning on line 211 in src/org/intellij/grammar/generator/ParserGeneratorUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'child instanceof BnfLiteralExpression' covered by subsequent condition 'child instanceof BnfReferenceOrToken'

Check warning on line 106 in src/org/intellij/grammar/editor/BnfAnnotator.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Condition is covered by further condition

Condition 'parent instanceof BnfAttr' covered by subsequent condition 'parent instanceof BnfListEntry'