Skip to content

Tiny improvements#1571

Merged
asolntsev merged 10 commits intomainfrom
refactor/tiny-improvements
Jun 21, 2025
Merged

Tiny improvements#1571
asolntsev merged 10 commits intomainfrom
refactor/tiny-improvements

Conversation

@asolntsev
Copy link
Copy Markdown
Collaborator

No description provided.

@asolntsev asolntsev self-assigned this Jun 21, 2025
@asolntsev asolntsev added this to the 2.4.4 milestone Jun 21, 2025
@what-the-diff
Copy link
Copy Markdown

what-the-diff bot commented Jun 21, 2025

PR Summary

  • Updated Date Format in Documentation: The way dates are formatted in our documentation been made more accurate. This aims to provide clearer examples.

  • Improved NULL checks: NULL checks in our codes are now more streamlined. This simplifies the whole verification process.

  • Removed Unneeded Imports: Some unnecessary parts in our code were removed. This makes our code cleaner and easier to maintain.

  • Better Suffix Handling: Our system now responds with expected outputs even when faced with unusual cases.

  • Upgraded Javadoc Links: The links in our documentations are now clearer and more readable.

  • Upgraded SQL Transformer methods: The way SQL transformer handles types have been improved. This means better, more efficient communication with the SQL server.

  • Optimized NULL Safety: NULL safety has been optimized across various classes. This enhances the robustness and reliability of our system.

  • Fixed Spelling Errors: Textual errors in our SQL test have been corrected. This increases the overall clarity of the code.

  • Improved Future Date Tests: Our system now has better capabilities in calculating future dates. This could improve date-related functionalities.

  • General Code Cleanup: We have cleaned up and made small beneficial changes to numerous files for better clarity and improved efficiency.

  • TimeTest.java Enhancements:

    • Added capability to ignore non-essential return values.
    • Improved the way hours are represented in time pattern.
    • Improved time validation and exception handling process.
    • Extracting 'Local time' from formatted strings is now easier.
  • ProvidersDocsGenerator.java: Improved the clarity of comments in subTypes field reference.

  • JavaObjectTransformerTest.java: Streamlined object handling in test methods which improves the speed and efficiency of our tests.

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

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

Project coverage is 92.42%. Comparing base (ab577aa) to head (3600ffd).

Files with missing lines Patch % Lines
...n/java/net/datafaker/annotations/FakeResolver.java 87.50% 0 Missing and 1 partial ⚠️
.../datafaker/transformations/sql/SqlTransformer.java 93.75% 0 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1571      +/-   ##
============================================
+ Coverage     92.40%   92.42%   +0.02%     
- Complexity     3327     3329       +2     
============================================
  Files           330      330              
  Lines          6554     6547       -7     
  Branches        643      640       -3     
============================================
- Hits           6056     6051       -5     
  Misses          341      341              
+ Partials        157      155       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@asolntsev asolntsev merged commit d5a38a8 into main Jun 21, 2025
13 checks passed
@asolntsev asolntsev deleted the refactor/tiny-improvements branch June 21, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants