Skip to content

Add benchmarking to DDB v2 mapper

cb16615
Select commit
Loading
Failed to load commit list.
Draft

Add benchmarking to DDB v2 mapper #6809

Add benchmarking to DDB v2 mapper
cb16615
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 23, 2026 in 16m 3s

Quality Gate failed

Failed conditions
2 Security Hotspots
0.0% Coverage on New Code (required ≥ 80%)
4.9% Duplication on New Code (required ≤ 3%)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 974 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/DynamoDBMapperConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

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

Check warning on line 541 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardTypeConverters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "N0" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

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

Check warning on line 45 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/DynamoDBTypeConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type specification in this constructor call with the diamond operator ("<>").

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

Check warning on line 18 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardModelFactories.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'software.amazon.awssdk.dynamodb.datamodeling.DynamoDBMapperFieldModel.Reflect'.

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

Check warning on line 45 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardAnnotationMaps.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type specification in this constructor call with the diamond operator ("<>").

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

Check warning on line 989 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/DynamoDBMapperConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the missing @deprecated Javadoc tag.

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

Check warning on line 249 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardBeanProperties.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this if-then-else statement by a single return statement.

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

Check warning on line 95 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardModelFactories.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type specification in this constructor call with the diamond operator ("<>").

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

Check warning on line 86 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/ConvertibleType.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the missing @deprecated Javadoc tag.

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

Check warning on line 773 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardTypeConverters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

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

Check warning on line 50 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/DynamoDBMapperTableModel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "properties" private field.

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

Check warning on line 331 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardAnnotationMaps.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type specification in this constructor call with the diamond operator ("<>").

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

Check warning on line 527 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/DynamoDBMapperConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename field "tableNameOverride"

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

Check warning on line 174 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/DynamoDBMapperTableModel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

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

Check warning on line 141 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardBeanProperties.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this block of code, fill it in, or add a comment explaining why it is empty.

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

Check warning on line 700 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardTypeConverters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

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

Check warning on line 386 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/DynamoDBMapperFieldModel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

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

Check warning on line 965 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardTypeConverters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

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

Check warning on line 62 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardTypeConverters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "target" on a separate line.

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

Check warning on line 776 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/DynamoDBMapperConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A Singleton implementation was detected. Make sure the use of the Singleton pattern is required and the implementation is the right one for the context.

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

Check warning on line 65 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/ConvertibleType.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 80 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardTypeConverters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant "static" qualifier; nested enum types are implicitly static.

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

Check warning on line 39 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/DynamoDBTypeConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

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

Check warning on line 719 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/StandardTypeConverters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

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

Check warning on line 38 in test/dynamodb-mapper-v2/src/main/java/software/amazon/awssdk/dynamodb/datamodeling/ConvertibleType.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the missing @deprecated Javadoc tag.

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