Skip to content

Add qodana CI checks (#915) #1535

Add qodana CI checks (#915)

Add qodana CI checks (#915) #1535

Triggered via push December 10, 2024 07:38
Status Failure
Total duration 10m 13s
Artifacts

sonar-cloud.yml

on: push
Build and analyze
10m 4s
Build and analyze
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 18 warnings, and 6 notices
Usage of API marked for removal: retail-store-webapp/src/main/java/com/example/retailstore/webapp/clients/ClientsConfig.java#L34
'org.springframework.boot.web.client.ClientHttpRequestFactorySettings' is deprecated since version 3.4.0 and marked for removal
Usage of API marked for removal: retail-store-webapp/src/main/java/com/example/retailstore/webapp/clients/ClientsConfig.java#L33
'org.springframework.boot.web.client.ClientHttpRequestFactorySettings' is deprecated since version 3.4.0 and marked for removal
Usage of API marked for removal: retail-store-webapp/src/main/java/com/example/retailstore/webapp/clients/ClientsConfig.java#L32
'org.springframework.boot.web.client.ClientHttpRequestFactories' is deprecated since version 3.4.0 and marked for removal
Usage of API marked for removal: retail-store-webapp/src/main/java/com/example/retailstore/webapp/clients/ClientsConfig.java#L11
'org.springframework.boot.web.client.ClientHttpRequestFactorySettings' is deprecated since version 3.4.0 and marked for removal
Usage of API marked for removal: retail-store-webapp/src/main/java/com/example/retailstore/webapp/clients/ClientsConfig.java#L32
'org.springframework.boot.web.client.ClientHttpRequestFactories' is deprecated since version 3.4.0 and marked for removal
Usage of API marked for removal: retail-store-webapp/src/main/java/com/example/retailstore/webapp/clients/ClientsConfig.java#L32
'org.springframework.boot.web.client.ClientHttpRequestFactorySettings' is deprecated since version 3.4.0 and marked for removal
Usage of API marked for removal: retail-store-webapp/src/main/java/com/example/retailstore/webapp/clients/ClientsConfig.java#L10
'org.springframework.boot.web.client.ClientHttpRequestFactories' is deprecated since version 3.4.0 and marked for removal
Usage of API marked for removal: retail-store-webapp/src/main/java/com/example/retailstore/webapp/clients/ClientsConfig.java#L32
'org.springframework.boot.web.client.ClientHttpRequestFactorySettings' is deprecated since version 3.4.0 and marked for removal
Build and analyze
Process completed with exit code 1.
Duplicate throws: inventory-service/src/main/java/com/example/inventoryservice/config/KafkaListenerConfig.java#L65
There is a more general exception, 'com.fasterxml.jackson.core.JsonProcessingException', in the throws list already.
Redundant type cast: payment-service/src/main/java/com/example/common/dtos/OrderItemDto.java#L14
Casting `this.quantity` to `long` is redundant
Build and analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Method can be extracted: catalog-service/src/main/java/com/example/catalogservice/config/logging/LoggingAspect.java#L151
It's possible to extract method returning 'stringArrayList' from a long surrounding method
Method can be extracted: payment-service/src/main/java/com/example/paymentservice/config/logging/LoggingAspect.java#L148
It's possible to extract method returning 'stringArrayList' from a long surrounding method
Method can be extracted: inventory-service/src/main/java/com/example/inventoryservice/config/logging/LoggingAspect.java#L153
It's possible to extract method returning 'stringArrayList' from a long surrounding method
Method can be extracted: order-service/src/main/java/com/example/orderservice/config/logging/LoggingAspect.java#L153
It's possible to extract method returning 'stringArrayList' from a long surrounding method