networknt / json-schema-validator

A fast Java JSON schema validator that supports draft V4, V6, V7, V2019-09 and V2020-12
Apache License 2.0
822 stars 323 forks source link

Fix issues with hierarchy output report #947

Closed justin-tay closed 7 months ago

justin-tay commented 7 months ago

This fixes some issues with the hierarchy output report

This also makes certain changes to allow for handling certain larger schemas

codecov-commenter commented 7 months ago

Codecov Report

Attention: 23 lines in your changes are missing coverage. Please review.

Comparison is base (91385c2) 78.92% compared to head (b841234) 78.96%.

Files Patch % Lines
...ava/com/networknt/schema/ItemsValidator202012.java 64.28% 5 Missing :warning:
...ava/com/networknt/schema/PrefixItemsValidator.java 0.00% 4 Missing :warning:
...schema/output/HierarchicalOutputUnitFormatter.java 87.09% 1 Missing and 3 partials :warning:
...ava/com/networknt/schema/output/OutputUnitKey.java 0.00% 3 Missing :warning:
...a/com/networknt/schema/SchemaValidatorsConfig.java 83.33% 2 Missing :warning:
...main/java/com/networknt/schema/ItemsValidator.java 94.11% 0 Missing and 1 partial :warning:
...n/java/com/networknt/schema/JsonSchemaFactory.java 83.33% 0 Missing and 1 partial :warning:
...n/java/com/networknt/schema/MaxItemsValidator.java 50.00% 1 Missing :warning:
...n/java/com/networknt/schema/MinItemsValidator.java 50.00% 1 Missing :warning:
...c/main/java/com/networknt/schema/NotValidator.java 80.00% 1 Missing :warning:

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #947 +/- ## ============================================ + Coverage 78.92% 78.96% +0.04% - Complexity 1699 1714 +15 ============================================ Files 157 157 Lines 5669 5710 +41 Branches 1071 1076 +5 ============================================ + Hits 4474 4509 +35 - Misses 796 802 +6 Partials 399 399 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.