json-path / JsonPath

Java JsonPath implementation
Apache License 2.0
8.88k stars 1.64k forks source link

Added test cases for JsonFormatter class and refactored the code base #1008

Open vaibhavramchandani opened 6 months ago

vaibhavramchandani commented 6 months ago

I have added test cases in the JsonFormatter Class increasing the overall test code. code-coverage

Additionally, I have refactored the codebase, working on both implementation smells and design smells. For implementation smells, I used the following methods:

Extract method Introduce explaining variable Decompose conditional

For design smells, I used the following techniques to refactor the code:

Move method/field Extract class Change bidirectional association to unidirectional association Please let me know if there's anything else you'd like to modify or if you need further assistance!