Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Simplify and improve code coverage #560

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Conversation

SMadani
Copy link
Contributor

@SMadani SMadani commented Jan 15, 2025

Miscellaneous changes aimed at improving test coverage, with added benefits for removing and deprecating unnecessary code.

@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 97.14286% with 2 lines in your changes missing coverage. Please review.

Project coverage is 97.13%. Comparing base (fe06b81) to head (1c1fdd8).
Report is 76 commits behind head on main.

Files with missing lines Patch % Lines
...n/java/com/vonage/client/auth/BasicAuthMethod.java 66.66% 0 Missing and 1 partial ⚠️
...ain/java/com/vonage/client/auth/JWTAuthMethod.java 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #560      +/-   ##
============================================
+ Coverage     95.60%   97.13%   +1.53%     
- Complexity     3427     3853     +426     
============================================
  Files           513      564      +51     
  Lines          8141     8741     +600     
  Branches        451      501      +50     
============================================
+ Hits           7783     8491     +708     
+ Misses          198      137      -61     
+ Partials        160      113      -47     
Files with missing lines Coverage Δ
...rc/main/java/com/vonage/client/AbstractMethod.java 100.00% <100.00%> (+22.22%) ⬆️
...c/main/java/com/vonage/client/DynamicEndpoint.java 98.62% <100.00%> (+21.86%) ⬆️
src/main/java/com/vonage/client/HttpConfig.java 95.52% <100.00%> (+23.18%) ⬆️
src/main/java/com/vonage/client/Jsonable.java 100.00% <100.00%> (+6.66%) ⬆️
...com/vonage/client/VonageMethodFailedException.java 25.00% <ø> (ø)
...a/com/vonage/client/VonageUnexpectedException.java 75.00% <ø> (ø)
...com/vonage/client/account/FullPricingResponse.java 100.00% <100.00%> (ø)
...com/vonage/client/application/ApplicationList.java 100.00% <100.00%> (+66.66%) ⬆️
...ava/com/vonage/client/auth/AbstractAuthMethod.java 83.33% <100.00%> (ø)
...va/com/vonage/client/auth/VonageAuthException.java 25.00% <ø> (ø)
... and 19 more

... and 127 files with indirect coverage changes

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