Skip to content

Merge pull request #3185 from 1c-syntax/dependabot/gradle/io.sentry-s… #110

Merge pull request #3185 from 1c-syntax/dependabot/gradle/io.sentry-s…

Merge pull request #3185 from 1c-syntax/dependabot/gradle/io.sentry-s… #110

GitHub Actions / Qodana Community for JVM completed Nov 21, 2023 in 0s

149 new problems found by Qodana Community for JVM

Qodana Community for JVM

149 new problems were found

Inspection name Severity Problems
Constant values 🔶 Warning 40
Mismatched query and update of collection 🔶 Warning 20
Statement with empty body 🔶 Warning 5
'@Serial' annotation could be used 🔶 Warning 4
Infinite recursion 🔶 Warning 2
Suspicious collection method call 🔶 Warning 2
Class is exposed outside of its visibility scope 🔶 Warning 1
Nullability and data flow problems 🔶 Warning 1
Mismatched read and write of array 🔶 Warning 1
Constant values ◽️ Notice 73

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 58 in src/main/java/com/github/_1c_syntax/bsl/languageserver/reporters/GenericIssueReport.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 `GenericIssueEntry` is exposed outside its defined visibility scope

Check notice on line 180 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java

See this annotation in the file changed.

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

Constant values

Value `mode` is always 'null'

Check warning on line 178 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java

See this annotation in the file changed.

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

Constant values

Condition `mode == Mode.ONLY && hasDefinedSetting` is always `false`

Check notice on line 75 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/SetPermissionsForNewObjectsDiagnostic.java

See this annotation in the file changed.

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

Constant values

Value `range` is always 'null'

Check notice on line 136 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java

See this annotation in the file changed.

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

Constant values

Value `searchableLeft` is always 'null'

Check warning on line 179 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java

See this annotation in the file changed.

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

Constant values

Condition `mode == Mode.EXCEPT` is always `false`

Check notice on line 76 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/CommonModuleMissingAPIDiagnostic.java

See this annotation in the file changed.

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

Constant values

Value `range` is always 'null'

Check notice on line 42 in src/main/java/com/github/_1c_syntax/bsl/languageserver/utils/expressiontree/TransitiveOperationsIgnoringComparer.java

See this annotation in the file changed.

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

Constant values

Value `operator` is always 'null'

Check warning on line 154 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java

See this annotation in the file changed.

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

Constant values

Condition `configuredSkipSupport != SkipSupport.WITH_SUPPORT` is always `true`

Check warning on line 184 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java

See this annotation in the file changed.

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

Constant values

Condition `passedOnlyMode` is always `false`

Check notice on line 187 in src/main/java/com/github/_1c_syntax/bsl/languageserver/references/ReferenceIndex.java

See this annotation in the file changed.

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

Constant values

Value `symbol` is always 'null'

Check notice on line 61 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/OrdinaryAppSupportDiagnostic.java

See this annotation in the file changed.

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

Constant values

Value `range` is always 'null'

Check notice on line 248 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java

See this annotation in the file changed.

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

Constant values

Value `operator` is always 'null'

Check notice on line 361 in src/main/java/com/github/_1c_syntax/bsl/languageserver/utils/expressiontree/ExpressionTreeBuildingVisitor.java

See this annotation in the file changed.

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

Constant values

Value `callNode` is always 'null'

Check warning on line 248 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java

See this annotation in the file changed.

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

Constant values

Condition `operator != BslOperator.MULTIPLY` is always `true` when reached

Check notice on line 55 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/DeprecatedMethodCallDiagnostic.java

See this annotation in the file changed.

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

Constant values

Value `uri` is always 'null'

Check notice on line 150 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java

See this annotation in the file changed.

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

Constant values

Value `configuredSkipSupport` is always 'null'

Check warning on line 243 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java

See this annotation in the file changed.

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

Constant values

Condition `operator == BslOperator.INDEX_ACCESS` is always `false` when reached

Check notice on line 47 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/AbstractCommonModuleNameDiagnostic.java

See this annotation in the file changed.

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

Constant values

Value `range` is always 'null'

Check warning on line 76 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/CommonModuleMissingAPIDiagnostic.java

See this annotation in the file changed.

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

Constant values

Condition `Ranges.isEmpty(range)` is always `false`

Check notice on line 66 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/SetPermissionsForNewObjectsDiagnostic.java

See this annotation in the file changed.

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

Constant values

Value `range` is always 'null'

Check warning on line 263 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java

See this annotation in the file changed.

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

Constant values

Condition `operator == BslOperator.OR` is always `false`

Check notice on line 187 in src/main/java/com/github/_1c_syntax/bsl/languageserver/reporters/SarifReporter.java

See this annotation in the file changed.

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

Constant values

Value `language` is always 'null'

Check notice on line 229 in src/main/java/com/github/_1c_syntax/bsl/languageserver/references/ReferenceIndex.java

See this annotation in the file changed.

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

Constant values

Value `symbol` is always 'null'

Check notice on line 154 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java

See this annotation in the file changed.

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

Constant values

Value `configuredSkipSupport` is always 'null'