Skip to content

Update based on PR comments

3dc35d3
Select commit
Loading
Failed to load commit list.
Open

Add Standard (cross-sdk) Benchmarks #6860

Update based on PR comments
3dc35d3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 15, 2026 in 16m 1s

Quality Gate failed

Annotations

Check warning on line 38 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/internal/InputStreamAdaptingHttpStreamResponseHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.junit.jupiter.api.extension.ExtendWith'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WoiBOENhfW4kVsz&open=AZ2S5WoiBOENhfW4kVsz&pullRequest=6860

Check warning on line 143 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/internal/CrtRequestExecutorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WpEBOENhfW4kVtB&open=AZ2S5WpEBOENhfW4kVtB&pullRequest=6860

Check warning on line 32 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/internal/InputStreamAdaptingHttpStreamResponseHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.util.concurrent.CancellationException'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WoiBOENhfW4kVsw&open=AZ2S5WoiBOENhfW4kVsw&pullRequest=6860

Check warning on line 27 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/NonResponsiveServerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.util.concurrent.CompletionException'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WppBOENhfW4kVtJ&open=AZ2S5WppBOENhfW4kVtJ&pullRequest=6860

Check warning on line 20 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/internal/InputStreamAdaptingHttpStreamResponseHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.mockito.ArgumentMatchers.any'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WoiBOENhfW4kVsp&open=AZ2S5WoiBOENhfW4kVsp&pullRequest=6860

Check failure on line 151 in test/sdk-standard-benchmarks/src/main/java/software/amazon/awssdk/benchmark/serde/BenchmarkTestCaseLoader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WgRBOENhfW4kVrh&open=AZ2S5WgRBOENhfW4kVrh&pullRequest=6860

Check warning on line 132 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/internal/CrtAsyncRequestExecutorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WnpBOENhfW4kVsY&open=AZ2S5WnpBOENhfW4kVsY&pullRequest=6860

Check warning on line 278 in http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/utils/NettyUtilsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5Wk8BOENhfW4kVsM&open=AZ2S5Wk8BOENhfW4kVsM&pullRequest=6860

Check warning on line 97 in test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/apicall/httpclient/async/NettyHttpClientH2Benchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "run" local variable.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WejBOENhfW4kVrc&open=AZ2S5WejBOENhfW4kVrc&pullRequest=6860

Check warning on line 144 in services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/AutoGeneratedTimestampRecordTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WiyBOENhfW4kVsF&open=AZ2S5WiyBOENhfW4kVsF&pullRequest=6860

Check warning on line 76 in test/sdk-standard-benchmarks/src/main/java/software/amazon/awssdk/benchmark/serde/RestXmlUnmarshallBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WgoBOENhfW4kVrr&open=AZ2S5WgoBOENhfW4kVrr&pullRequest=6860

Check warning on line 68 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/NonResponsiveServerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "socket" local variable.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WppBOENhfW4kVtF&open=AZ2S5WppBOENhfW4kVtF&pullRequest=6860

Check warning on line 73 in test/sdk-standard-benchmarks/src/main/java/software/amazon/awssdk/benchmark/serde/JmhResultConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WgiBOENhfW4kVrp&open=AZ2S5WgiBOENhfW4kVrp&pullRequest=6860

Check warning on line 507 in services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/AutoGeneratedTimestampRecordTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WiyBOENhfW4kVsG&open=AZ2S5WiyBOENhfW4kVsG&pullRequest=6860

Check warning on line 62 in services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/internal/EnhancedClientUtilsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WicBOENhfW4kVsB&open=AZ2S5WicBOENhfW4kVsB&pullRequest=6860

Check warning on line 118 in services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/AutoGeneratedTimestampRecordTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "fakeItems" private field.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WiyBOENhfW4kVsK&open=AZ2S5WiyBOENhfW4kVsK&pullRequest=6860

Check warning on line 37 in test/sdk-standard-benchmarks/src/main/java/software/amazon/awssdk/benchmark/serde/RpcV2CborMarshallBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'software.amazon.awssdk.http.SdkHttpMethod'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WgcBOENhfW4kVro&open=AZ2S5WgcBOENhfW4kVro&pullRequest=6860

Check warning on line 73 in test/sdk-standard-benchmarks/src/main/java/software/amazon/awssdk/benchmark/serde/QueryUnmarshallBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WgvBOENhfW4kVru&open=AZ2S5WgvBOENhfW4kVru&pullRequest=6860

Check warning on line 72 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/AwsCrtAsyncHttpClientWireMockTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WnFBOENhfW4kVsW&open=AZ2S5WnFBOENhfW4kVsW&pullRequest=6860

Check warning on line 24 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/internal/InputStreamAdaptingHttpStreamResponseHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.mockito.Mockito.times'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WoiBOENhfW4kVst&open=AZ2S5WoiBOENhfW4kVst&pullRequest=6860

Check warning on line 147 in services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/extensions/AutoGeneratedTimestampRecordExtension.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WiBBOENhfW4kVr-&open=AZ2S5WiBBOENhfW4kVr-&pullRequest=6860

Check warning on line 101 in test/sdk-standard-benchmarks/src/main/java/software/amazon/awssdk/benchmark/serde/QueryUnmarshallBenchmark.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WgvBOENhfW4kVrw&open=AZ2S5WgvBOENhfW4kVrw&pullRequest=6860

Check warning on line 26 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/internal/CrtResponseHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.util.concurrent.CompletableFuture'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WoJBOENhfW4kVsi&open=AZ2S5WoJBOENhfW4kVsi&pullRequest=6860

Check warning on line 44 in http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/internal/InputStreamAdaptingHttpStreamResponseHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'software.amazon.awssdk.crt.http.HttpClientConnection'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WoiBOENhfW4kVs5&open=AZ2S5WoiBOENhfW4kVs5&pullRequest=6860

Check warning on line 57 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/useragent/businessmetrics/BusinessMetricsUtilsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "RetryPolicy"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ2S5WYJBOENhfW4kVrV&open=AZ2S5WYJBOENhfW4kVrV&pullRequest=6860