Skip to content

Conversation

@andreas-grafenberger
Copy link
Contributor

@andreas-grafenberger andreas-grafenberger commented Feb 2, 2026

Motivation and Context

The goal of this work is to increase unit, functional, and integration code coverage for the
aws-sdk-java-v2/services-custom/dynamodb-enhanced module.

Initial coverage:

  • Class: 97%
  • Method: 85%
  • Line: 87%
  • Branch: 64%

Target coverage:

  • Class: ≥ 98%
  • Method: ≥ 92%
  • Line: ≥ 92%
  • Branch: ≥ 85%

Achieved coverage:

  • Class: 99%
  • Method: 92%
  • Line: 94%
  • Branch: 91%

These results exceed the defined targets and significantly improve confidence in the correctness and stability of the enhanced DynamoDB module.


Modifications

This pull request expands code coverage across the DynamoDB Enhanced Client by introducing new unit, functional, and integration tests targeting previously uncovered or partially covered code paths.


Testing

  • Existing test suites were executed without regression.
  • New tests were added to specifically target uncovered branches and methods.
  • All new and existing tests pass successfully.
  • Coverage was measured locally after test execution to validate improvements.

Screenshots

Initial coverage:

codeCoverage-before

Achieved coverage:

codeCoverage-after

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

@andreas-grafenberger andreas-grafenberger changed the title 437 Increase test coverage Increase test coverage Feb 2, 2026
@anasatirbasa anasatirbasa force-pushed the 437-increase_test_coverage branch from a024740 to fcfbd00 Compare February 10, 2026 17:09
@andreas-grafenberger andreas-grafenberger changed the title Increase test coverage Increase code coverage Feb 10, 2026
@andreas-grafenberger andreas-grafenberger changed the title Increase code coverage Increase code coverage on dynamodb-enhanced module Feb 10, 2026
@anasatirbasa anasatirbasa force-pushed the 437-increase_test_coverage branch from 337c117 to f97adfc Compare February 11, 2026 14:26
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.

2 participants