Skip to content

refactor: policy compilation

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

13.20% of diff hit (target 21.41%)

View this Pull Request on Codecov

13.20% of diff hit (target 21.41%)

Annotations

Check warning on line 24 in pkg/apis/policy/v1alpha1/any.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/apis/policy/v1alpha1/any.go#L23-L24

Added lines #L23 - L24 were not covered by tests

Check warning on line 19 in pkg/core/engine.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/engine.go#L16-L19

Added lines #L16 - L19 were not covered by tests

Check warning on line 23 in pkg/core/engine.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/engine.go#L22-L23

Added lines #L22 - L23 were not covered by tests

Check warning on line 28 in pkg/core/engine.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/engine.go#L26-L28

Added lines #L26 - L28 were not covered by tests

Check warning on line 37 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L19-L37

Added lines #L19 - L37 were not covered by tests

Check warning on line 56 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L49-L56

Added lines #L49 - L56 were not covered by tests

Check warning on line 62 in pkg/json-engine/compiler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/compiler.go#L58-L62

Added lines #L58 - L62 were not covered by tests

Check warning on line 185 in pkg/json-engine/engine.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/engine.go#L185

Added line #L185 was not covered by tests

Check warning on line 239 in pkg/json-engine/engine.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/json-engine/engine.go#L238-L239

Added lines #L238 - L239 were not covered by tests