Skip to content

Внесены изменения для поддержки mdclasses 0.12 #1608

Внесены изменения для поддержки mdclasses 0.12

Внесены изменения для поддержки mdclasses 0.12 #1608

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Qodana Community for JVM completed Oct 7, 2023 in 0s

175 new problems found by Qodana Community for JVM

Qodana Community for JVM

175 new problems were found

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

💡 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 168 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 98 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/RedundantAccessToObjectDiagnostic.java

See this annotation in the file changed.

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

Constant values

Condition `!(mdo instanceof CommonModule commonModule)` is always `false`

Check notice on line 63 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 warning on line 46 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

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

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

See this annotation in the file changed.

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

Constant values

Method reference result is always 'true'

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 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 warning on line 66 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/WrongWebServiceHandlerDiagnostic.java

See this annotation in the file changed.

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

Constant values

Method reference result is always 'true'

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 171 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 `passedOn || passedAllMode || passedOnlyMode || passedExcept` is always `false`

Check notice on line 209 in src/main/java/com/github/_1c_syntax/bsl/languageserver/context/DocumentContext.java

See this annotation in the file changed.

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

Constant values

Value `scriptVariant` is always 'null'

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 83 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/WrongWebServiceHandlerDiagnostic.java

See this annotation in the file changed.

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

Constant values

Value `operationName` is always 'null'

Check notice on line 78 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 `fileType` is always 'null'

Check notice on line 80 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 `compatibilityMode` 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 warning on line 168 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 && !(hasDefinedSetting || disabledDirectly)` is always `false`

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

See this annotation in the file changed.

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

Constant values

Method reference result is always 'true'

Check warning on line 167 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 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 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`