Skip to content

Add qodana CI checks#1

Open
qodana-cloud[bot] wants to merge 2 commits intomainfrom
qodana-automation-191566415
Open

Add qodana CI checks#1
qodana-cloud[bot] wants to merge 2 commits intomainfrom
qodana-automation-191566415

Conversation

@qodana-cloud
Copy link
Copy Markdown

@qodana-cloud qodana-cloud bot commented Nov 18, 2024

Adds qodana.yaml and GitHub workflow file that runs Qodana static analysis on each pull request.

@github-actions
Copy link
Copy Markdown

Qodana for JVM

105 new problems were found

Inspection name Severity Problems
'Optional' used as field or parameter type 🔶 Warning 17
Field may be 'final' 🔶 Warning 15
Nullability and data flow problems 🔶 Warning 11
Unchecked warning 🔶 Warning 10
Call to 'printStackTrace()' 🔶 Warning 7
Vulnerable declared dependency 🔶 Warning 5
AutoCloseable used without 'try'-with-resources 🔶 Warning 4
Field can be local 🔶 Warning 4
Stream API call chain can be simplified 🔶 Warning 4
Deprecated API usage 🔶 Warning 3
Redundant type cast 🔶 Warning 3
Redundant call to 'String.format()' 🔶 Warning 3
'size() == 0' can be replaced with 'isEmpty()' 🔶 Warning 3
Empty class initializer 🔶 Warning 2
Standard 'Charset' object can be used 🔶 Warning 1
Class is exposed outside of its visibility scope 🔶 Warning 1
Constant values 🔶 Warning 1
Result of method call ignored 🔶 Warning 1
Optional.get() is called without isPresent() check 🔶 Warning 1
Optional call chain can be simplified 🔶 Warning 1
'String.equals()' can be replaced with 'String.isEmpty()' 🔶 Warning 1
'Collection.toArray()' call style 🔶 Warning 1
Unused import 🔶 Warning 1
Vulnerable declared dependency ◽️ Notice 5

☁️ View the detailed Qodana report

Detected 100 dependencies

Third-party software list

This page lists the third-party software dependencies used in java-ddd-example

Dependency Version Licenses
aggs-matrix-stats-client 6.8.4 Apache-2.0
amqp-client 5.17.1 Apache-2.0
GPL-2.0-only
MPL-2.0
checker-qual 3.12.0 MIT
commons-codec 1.15 Apache-2.0
commons-lang3 3.12.0 Apache-2.0
compiler 0.9.3 Apache-2.0
dotenv-java 3.0.0 Apache-2.0
elasticsearch-cli 6.8.4 Apache-2.0
elasticsearch-core 6.8.4 Apache-2.0
elasticsearch-rest-client 6.8.4 Apache-2.0
elasticsearch-rest-high-level-client 6.8.4 Apache-2.0
elasticsearch-secure-sm 6.8.4 Apache-2.0
elasticsearch-x-content 6.8.4 Apache-2.0
elasticsearch 6.8.4 Apache-2.0
error_prone_annotations 2.7.1 Apache-2.0
freemarker-gae 2.3.32 Apache-2.0
hdrhistogram 2.1.9 CC0-1.0
httpasyncclient 4.1.5 Apache-2.0
httpclient 4.5.2 Apache-2.0
httpcore-nio 4.4.16 Apache-2.0
httpcore 4.4.16 Apache-2.0
j2objc-annotations 1.3 Apache-2.0
jackson-annotations 2.15.3 Apache-2.0
jackson-core 2.15.3 Apache-2.0
jackson-databind 2.15.3 Apache-2.0
jackson-dataformat-cbor 2.15.3 Apache-2.0
jackson-dataformat-smile 2.15.3 Apache-2.0
jackson-dataformat-yaml 2.15.3 AML
jackson-datatype-jdk8 2.15.3 Apache-2.0
jackson-datatype-jsr310 2.15.3 Apache-2.0
jackson-module-parameter-names 2.15.3 Apache-2.0
jakarta.activation-api 2.1.2 BSD-3-Clause
jakarta.annotation-api 2.1.1 Classpath-exception-2.0
EPL-2.0
GPL-2.0-only
jakarta.persistence-api 3.2.0-b01 BSD-3-Clause
EPL-2.0
jakarta.transaction-api 2.0.1 Classpath-exception-2.0
EPL-2.0
GPL-2.0-only
jakarta.xml.bind-api 4.0.1 BSD-3-Clause
javassist 3.28.0-ga Apache-2.0
LGPL-2.0-or-later
MPL-1.1
jaxb-core 4.0.3 BSD-3-Clause
jaxb-impl 4.0.4 BSD-3-Clause
joda-time 2.10.1 Apache-2.0
jopt-simple 5.0.2 MIT
jsr305 3.0.2 Apache-2.0
jul-to-slf4j 2.0.9 MIT
lang-mustache-client 6.8.4 Apache-2.0
log4j-api 2.21.1 Apache-2.0
log4j-core 2.21.1 Apache-2.0
log4j-to-slf4j 2.20.0 Apache-2.0
lucene-analyzers-common 7.7.2 Apache-2.0
lucene-backward-codecs 7.7.2 Apache-2.0
lucene-core 7.7.2 Apache-2.0
lucene-grouping 7.7.2 Apache-2.0
lucene-highlighter 7.7.2 Apache-2.0
lucene-join 7.7.2 Apache-2.0
lucene-memory 7.7.2 Apache-2.0
lucene-misc 7.7.2 Apache-2.0
lucene-queries 7.7.2 Apache-2.0
lucene-queryparser 7.7.2 Apache-2.0
lucene-sandbox 7.7.2 Apache-2.0
lucene-spatial-extras 7.7.2 Apache-2.0
lucene-spatial3d 7.7.2 Apache-2.0
lucene-spatial 7.7.2 Apache-2.0
lucene-suggest 7.7.2 Apache-2.0
micrometer-commons 1.11.5 Apache-2.0
micrometer-observation 1.11.5 Apache-2.0
mysql-connector-java 8.0.28 Apache-2.0
parent-join-client 6.8.4 Apache-2.0
rank-eval-client 6.8.4 Apache-2.0
reflections 0.10.2 Apache-2.0
WTFPL
slf4j-api 2.0.9 MIT
snakeyaml 1.33 Apache-2.0
spring-amqp 3.0.10 Apache-2.0
spring-aop 6.0.13 Apache-2.0
spring-beans 6.0.13 Apache-2.0
spring-boot-autoconfigure 3.1.5 Apache-2.0
spring-boot-starter-amqp 3.1.5 Apache-2.0
spring-boot-starter-json 3.1.5 Apache-2.0
spring-boot-starter-logging 3.1.5 Apache-2.0
spring-boot-starter-tomcat 3.1.5 Apache-2.0
spring-boot-starter-web 3.1.5 Apache-2.0
spring-boot-starter 3.1.5 Apache-2.0
spring-boot 3.1.5 Apache-2.0
spring-context-support 6.0.13 Apache-2.0
spring-context 6.0.13 Apache-2.0
spring-core 6.0.13 Apache-2.0
spring-expression 6.0.13 Apache-2.0
spring-jcl 6.0.13 Apache-2.0
spring-jdbc 6.0.13 Apache-2.0
spring-messaging 6.0.13 Apache-2.0
spring-orm 6.0.13 Apache-2.0
spring-rabbit 3.0.10 Apache-2.0
spring-retry 2.0.4 Apache-2.0
spring-tx 6.0.13 Apache-2.0
spring-web 6.0.13 Apache-2.0
spring-webmvc 6.0.13 Apache-2.0
t-digest 3.2 Apache-2.0
tomcat-dbcp 10.1.15 Apache-2.0
tomcat-embed-core 10.1.15 Apache-2.0
CDDL-1.0
PROPRIETARY-LICENSE
tomcat-embed-el 10.1.15 Apache-2.0
tomcat-embed-websocket 10.1.15 Apache-2.0
tomcat-juli 10.1.15 Apache-2.0
Contact Qodana team

Contact us at qodana-support@jetbrains.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant