Skip to content
GitHub Actions / Qodana Community for JVM completed Apr 16, 2024 in 0s

15 new problems found by Qodana Community for JVM

Qodana Community for JVM

15 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
Class is exposed outside of its visibility scope 🔶 Warning 1
Constant values 🔶 Warning 1
Nullability and data flow problems 🔶 Warning 1
Mismatched read and write of array 🔶 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 56 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 warning on line 239 in src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/TimeoutsInExternalResourcesDiagnostic.java

See this annotation in the file changed.

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

Constant values

Condition `diagnosticCompatibility != null` is always `true`

Check warning on line 122 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 265 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 374 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 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 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 133 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 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 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 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 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 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