Skip to content

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

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

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

Triggered via push October 7, 2023 15:24
Status Success
Total duration 21s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pre-qa.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

87 warnings and 88 notices
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/RedundantAccessToObjectDiagnostic.java#L98
Condition `!(mdo instanceof CommonModule commonModule)` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java#L171
Condition `passedOn || passedAllMode || passedOnlyMode || passedExcept` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java#L248
Condition `operator != BslOperator.MULTIPLY` is always `true` when reached
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java#L168
Condition `mode == Mode.EXCEPT && !(hasDefinedSetting || disabledDirectly)` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java#L243
Condition `operator == BslOperator.INDEX_ACCESS` is always `false` when reached
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java#L140
Condition `configuredSkipSupport == SkipSupport.WITH_SUPPORT_LOCKED` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java#L263
Condition `operator == BslOperator.OR || operator == BslOperator.AND` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java#L263
Condition `operator == BslOperator.AND` is always `false` when reached
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/sentry/PermissionFilterBeforeSendCallback.java#L106
Condition `currentErrorsMode == SendErrorsMode.SEND || currentErrorsMode == SendErrorsMode.SEND_ONCE` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java#L169
Condition `mode == Mode.ON && (activatedByDefault || hasDefinedSetting)` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/TimeoutsInExternalResourcesDiagnostic.java#L239
Condition `diagnosticCompatibility != null && CompatibilityMode.compareTo(diagnosticCompatibility, ...` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java#L131
Condition `configuredSkipSupport == SkipSupport.NEVER` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/infrastructure/DiagnosticsConfiguration.java#L144
Condition `configuredSkipSupport != SkipSupport.WITH_SUPPORT` is always `true`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java#L243
Condition `operator == BslOperator.DEREFERENCE || operator == BslOperator.INDEX_ACCESS` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/sentry/PermissionFilterBeforeSendCallback.java#L106
Condition `currentErrorsMode == SendErrorsMode.SEND` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java#L263
Condition `(operator == BslOperator.OR || operator == BslOperator.AND) && binary.getRight() instanceof Bi...` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java#L243
Condition `operator == BslOperator.DEREFERENCE` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/sentry/PermissionFilterBeforeSendCallback.java#L106
Condition `currentErrorsMode == SendErrorsMode.SEND_ONCE` is always `false` when reached
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/sentry/PermissionFilterBeforeSendCallback.java#L107
Condition `currentErrorsMode == SendErrorsMode.SEND_ONCE` is always `false`
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/IdenticalExpressionsDiagnostic.java#L248
Condition `operator != BslOperator.ADD && operator != BslOperator.MULTIPLY` is always `true`
Nullability and data flow problems: src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/WrongDataPathForFormElementsDiagnostic.java#L95
Condition `Form.class::isInstance` is redundant and can be replaced with a null check
Infinite recursion: src/main/java/com/github/_1c_syntax/bsl/languageserver/context/symbol/SymbolTree.java#L95
Method `getChildrenFlat()` recurses infinitely, and can only end by throwing an exception
Infinite recursion: src/main/java/com/github/_1c_syntax/bsl/languageserver/context/symbol/VariableSymbol.java#L54
Method `builder()` recurses infinitely, and can only end by throwing an exception
Mismatched read and write of array: src/main/java/com/github/_1c_syntax/bsl/languageserver/cli/AnalyzeCommand.java#L135
Contents of array `reportersOptions` are read, but never written to
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/cli/LanguageServerStartCommand.java#L73
Contents of collection `languageClientAwares` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/HoverProvider.java#L44
Contents of collection `markupContentBuilders` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/ColorProvider.java#L47
Contents of collection `colorInformationSuppliers` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/ColorProvider.java#L48
Contents of collection `colorPresentationSuppliers` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/CodeLensProvider.java#L60
Contents of collection `codeLensSuppliersById` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/CommandProvider.java#L45
Contents of collection `commandSuppliersById` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/FoldingRangeProvider.java#L38
Contents of collection `foldingRangeSuppliers` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/reporters/SarifReporter.java#L96
Contents of collection `diagnosticInfos` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/websocket/LSPWebSocketEndpoint.java#L43
Contents of collection `languageClientAwares` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/reporters/ReportersAggregator.java#L46
Contents of collection `filteredReporters` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/CodeActionProvider.java#L49
Contents of collection `codeActionSuppliers` are queried, but never updated
Mismatched query and update of collection: src/main/java/com/github/_1c_syntax/bsl/languageserver/codeactions/QuickFixSupplier.java#L40
Contents of collection `diagnosticInfos` are queried, but never updated
Constant values: src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/FormatProvider.java#L580
Value `useUppercaseForLogicalOrNotAndKeywords` is always 'null'