Skip to content

Merge pull request #3145 from 1c-syntax/dependabot/github_actions/act… #1369

Merge pull request #3145 from 1c-syntax/dependabot/github_actions/act…

Merge pull request #3145 from 1c-syntax/dependabot/github_actions/act… #1369

GitHub Actions / Qodana Community for JVM completed Sep 6, 2023 in 0s

14 new problems found by Qodana Community for JVM

Qodana Community for JVM

14 new problems were found

Inspection name Severity Problems
Statement with empty body 🔶 Warning 5
'@Serial' annotation could be used 🔶 Warning 4
Mismatched query and update of collection 🔶 Warning 2
Mismatched read and write of array 🔶 Warning 1
Nullability and data flow problems 🔶 Warning 1
Redundant character escape 🔶 Warning 1

💡 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 135 in src/main/java/com/github/_1c_syntax/bsl/languageserver/cli/AnalyzeCommand.java

See this annotation in the file changed.

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

Mismatched read and write of array

Contents of array `reportersOptions` are read, but never written to

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

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getRuleIndex` may produce `NullPointerException`

Check warning on line 36 in src/main/java/com/github/_1c_syntax/bsl/languageserver/events/LanguageServerInitializeRequestReceivedEvent.java

See this annotation in the file changed.

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

'@Serial' annotation could be used

`serialVersionUID` can be annotated with '@Serial' annotation

Check warning on line 29 in src/main/java/com/github/_1c_syntax/bsl/languageserver/context/events/ServerContextPopulatedEvent.java

See this annotation in the file changed.

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

'@Serial' annotation could be used

`serialVersionUID` can be annotated with '@Serial' annotation

Check warning on line 29 in src/main/java/com/github/_1c_syntax/bsl/languageserver/context/events/DocumentContextContentChangedEvent.java

See this annotation in the file changed.

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

'@Serial' annotation could be used

`serialVersionUID` can be annotated with '@Serial' annotation

Check warning on line 34 in src/main/java/com/github/_1c_syntax/bsl/languageserver/configuration/events/LanguageServerConfigurationChangedEvent.java

See this annotation in the file changed.

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

'@Serial' annotation could be used

`serialVersionUID` can be annotated with '@Serial' annotation

Check warning on line 263 in src/main/java/com/github/_1c_syntax/bsl/languageserver/context/symbol/description/DescriptionReader.java

See this annotation in the file changed.

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

Statement with empty body

`else` statement has empty body

Check warning on line 124 in src/main/java/com/github/_1c_syntax/bsl/languageserver/context/symbol/description/DescriptionReader.java

See this annotation in the file changed.

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

Statement with empty body

`else` statement has empty body

Check warning on line 372 in src/main/java/com/github/_1c_syntax/bsl/languageserver/context/symbol/description/DescriptionReader.java

See this annotation in the file changed.

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

Statement with empty body

`else` statement has empty body

Check warning on line 279 in src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/FormatProvider.java

See this annotation in the file changed.

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

Statement with empty body

`else` statement has empty body

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

See this annotation in the file changed.

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

Statement with empty body

`else` statement has empty body

Check warning on line 40 in src/main/java/com/github/_1c_syntax/bsl/languageserver/reporters/ReportersAggregator.java

See this annotation in the file changed.

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

Mismatched query and update of collection

Contents of collection `reporters` are queried, but never updated

Check warning on line 46 in src/main/java/com/github/_1c_syntax/bsl/languageserver/reporters/ReportersAggregator.java

See this annotation in the file changed.

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

Mismatched query and update of collection

Contents of collection `filteredReporters` are queried, but never updated

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

See this annotation in the file changed.

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

Redundant character escape

Redundant character escape `\\*` in RegExp