Skip to content

refactor: policy compilation

Codecov / codecov/project failed Sep 24, 2024 in 0s

21.10% (-0.31%) compared to 9d7931b

View this Pull Request on Codecov

21.10% (-0.31%) compared to 9d7931b

Details

Codecov Report

Attention: Patch coverage is 30.99631% with 187 lines in your changes missing coverage. Please review.

Project coverage is 21.10%. Comparing base (9d7931b) to head (c51d502).

Files with missing lines Patch % Lines
pkg/json-engine/compiler.go 34.70% 120 Missing and 23 partials ⚠️
pkg/matching/match.go 0.00% 20 Missing ⚠️
pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go 0.00% 16 Missing ⚠️
pkg/json-engine/engine.go 66.66% 4 Missing ⚠️
pkg/apis/policy/v1alpha1/any.go 0.00% 2 Missing ⚠️
pkg/apis/policy/v1alpha1/assertion_tree.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #516      +/-   ##
==========================================
- Coverage   21.41%   21.10%   -0.31%     
==========================================
  Files          92       92              
  Lines        4282     4401     +119     
==========================================
+ Hits          917      929      +12     
- Misses       3294     3393      +99     
- Partials       71       79       +8     

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