Skip to content

Add sarif from the benchmark to arficats #1722

Add sarif from the benchmark to arficats

Add sarif from the benchmark to arficats #1722

GitHub Actions / Qodana for JVM completed Jun 6, 2024 in 0s

24 new problems found by Qodana for JVM

Qodana for JVM

24 new problems were found

Inspection name Severity Problems
Incorrect autowiring in Spring bean components 🔴 Failure 2
Incorrectly referenced bean in @Lookup annotation of Spring component 🔴 Failure 1
Invalid properties configuration 🔶 Warning 6
Statement with empty body 🔶 Warning 5
'@Serial' annotation could be used 🔶 Warning 4
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
Non recommended 'field' injections ◽️ Notice 2

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

Detected 101 dependencies

Third-party software list

This page lists the third-party software dependencies used in bsl-language-server

Dependency Version Licenses
aho-corasick-double-array-trie 1.2.2 Apache-2.0
aspectjrt 1.9.22.1 Apache-2.0
checker-qual 3.42.0 MIT
classgraph 4.8.147 MIT
commons-beanutils 1.9.4 Apache-2.0
commons-collections 3.2.2 Apache-2.0
commons-collections4 4.4 Apache-2.0
commons-digester 2.1 Apache-2.0
commons-exec 1.4.0 Apache-2.0
commons-io 2.16.1 Apache-2.0
commons-lang3 3.14.0 Apache-2.0
commons-logging 1.2 Apache-2.0
commons-pool2 2.12.0 Apache-2.0
commons-text 1.10.0 Apache-2.0
commons-validator 1.7 Apache-2.0
english-pos-dict 0.3 LGPL-2.1-only
error_prone_annotations 2.26.1 Apache-2.0
grpc-netty-shaded 1.61.1 Apache-2.0
gson 2.10.1 Apache-2.0
guava 33.2.1-jre Apache-2.0
hunspell 2.1.2 Apache-2.0
istack-commons-runtime 4.1.2 BSD-3-Clause
j2objc-annotations 3.0.0 Apache-2.0
jackson-annotations 2.15.4 Apache-2.0
jackson-core 2.15.4 Apache-2.0
jackson-databind 2.15.4 Apache-2.0
jackson-datatype-jdk8 2.15.4 Apache-2.0
jackson-datatype-jsr310 2.15.4 Apache-2.0
jackson-module-parameter-names 2.15.4 Apache-2.0
jakarta.activation-api 2.1.3 BSD-3-Clause
jakarta.annotation-api 2.1.1 Classpath-exception-2.0
EPL-2.0
GPL-2.0-only
jakarta.websocket-api 2.1.1 Classpath-exception-2.0
EPL-2.0
GPL-2.0-only
jakarta.xml.bind-api 4.0.2 BSD-3-Clause
java-diff-utils 4.12 Apache-2.0
java-sarif 2.0 MIT
javax.activation-api 1.2.0 CDDL-1.1
GPL-2.0-only
javax.annotation-api 1.3.2 CDDL-1.0
GPL-2.0-only
ORACLE-OPENJDK-EXCEPTION-2.0
jaxb-api 2.3.0 CDDL-1.1
GPL-2.0-only
ORACLE-OPENJDK-EXCEPTION-2.0
jaxb-core 4.0.5 BSD-3-Clause
jaxb-runtime 4.0.5 BSD-3-Clause
jgrapht-core 1.5.2 EPL-1.0
LGPL-2.0-or-later
jline-native 3.24.1 BSD-3-Clause
jline-terminal 3.24.1 BSD-3-Clause
jna-platform 5.12.1 Apache-2.0
jna 5.12.1 Apache-2.0
jsr305 3.0.2 Apache-2.0
jul-to-slf4j 2.0.13 MIT
language-detector 0.6 Apache-2.0
language-en 6.4 LGPL-2.0-or-later
language-ru 6.4 LGPL-2.0-or-later
languagetool-core 6.4 LGPL-2.0-or-later
log4j-api 2.21.1 Apache-2.0
log4j-to-slf4j 2.21.1 Apache-2.0
lombok 1.18.32 BSD-3-CLAUSE-NO-TRADEMARK
MIT
lucene-backward-codecs 5.5.5 Apache-2.0
lucene-core 5.5.5 Apache-2.0
micrometer-commons 1.12.5 Apache-2.0
micrometer-core 1.12.5 Apache-2.0
micrometer-observation 1.12.5 Apache-2.0
micrometer-registry-prometheus 1.12.5 Apache-2.0
mxparser 1.2.2 xpp
opennlp-chunk-models 1.5 Apache-2.0
opennlp-postag-models 1.5 Apache-2.0
opennlp-tokenize-models 1.5 Apache-2.0
opennlp-tools 1.9.4 Apache-2.0
openregex 1.1.1 LGPL-2.0-or-later
progressbar 0.10.1 MIT
proto-google-common-protos 2.29.0 Apache-2.0
segment 2.0.1 MIT
simpleclient 0.16.0 Apache-2.0
simpleclient_common 0.16.0 Apache-2.0
simpleclient_guava 0.16.0 Apache-2.0
simpleclient_tracer_common 0.16.0 Apache-2.0
simpleclient_tracer_otel 0.16.0 Apache-2.0
simpleclient_tracer_otel_agent 0.16.0 Apache-2.0
slf4j-api 2.0.13 MIT
snakeyaml 2.2 Apache-2.0
spring-aop 6.1.6 Apache-2.0
spring-beans 6.1.6 Apache-2.0
spring-boot-autoconfigure 3.2.5 Apache-2.0
spring-boot-starter-json 3.2.5 Apache-2.0
spring-boot-starter-logging 3.2.5 Apache-2.0
spring-boot-starter-tomcat 3.2.5 Apache-2.0
spring-boot-starter-web 3.2.5 Apache-2.0
spring-boot-starter-websocket 3.2.5 Apache-2.0
spring-boot-starter 3.2.5 Apache-2.0
spring-boot 3.2.5 Apache-2.0
spring-context 6.1.6 Apache-2.0
spring-core 6.1.6 Apache-2.0
spring-expression 6.1.6 Apache-2.0
spring-jcl 6.1.6 Apache-2.0
spring-messaging 6.1.6 Apache-2.0
spring-web 6.1.6 Apache-2.0
spring-webmvc 6.1.6 Apache-2.0
spring-websocket 6.1.6 Apache-2.0
tomcat-embed-core 10.1.20 Apache-2.0
CDDL-1.0
PROPRIETARY-LICENSE
tomcat-embed-el 10.1.20 Apache-2.0
tomcat-embed-websocket 10.1.20 Apache-2.0
txw2 4.0.5 BSD-3-Clause
vavr-match 0.10.2 Apache-2.0
vavr 0.10.2 Apache-2.0
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 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 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 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 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 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 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 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 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 for JVM

Mismatched read and write of array

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

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 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 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 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 for JVM

'@Serial' annotation could be used

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

Check warning on line 21 in src/test/resources/application-measures.properties

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Invalid properties configuration

Cannot resolve configuration property 'app.globalConfiguration.path'

Check warning on line 14 in src/main/resources/application.properties

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Invalid properties configuration

Cannot resolve configuration property 'app.globalConfiguration.path'

Check warning on line 20 in src/test/resources/application-measures.properties

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Invalid properties configuration

Cannot resolve configuration property 'app.measures.enabled'

Check warning on line 19 in src/test/resources/application-websocket.properties

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Invalid properties configuration

Cannot resolve configuration property 'app.globalConfiguration.path'

Check warning on line 23 in src/main/resources/application.properties

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Invalid properties configuration

Cannot resolve configuration property 'picocli.disable.closures'

Check warning on line 20 in src/test/resources/application.properties

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Invalid properties configuration

Cannot resolve configuration property 'app.globalConfiguration.path'

Check notice on line 39 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 for JVM

Non recommended 'field' injections

Field injection is not recommended

Check notice on line 42 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 for JVM

Non recommended 'field' injections

Field injection is not recommended

Check failure on line 87 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 for JVM

Incorrect autowiring in Spring bean components

Could not autowire. No beans of 'URI' type found.

Check failure on line 44 in src/main/java/com/github/_1c_syntax/bsl/languageserver/providers/HoverProvider.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrect autowiring in Spring bean components

Could not autowire. No beans of 'Map\>' type found.

Check failure on line 87 in src/main/java/com/github/_1c_syntax/bsl/languageserver/context/computer/DiagnosticComputer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrectly referenced bean in @Lookup annotation of Spring component

Cannot resolve bean 'diagnostics'