chore: adds memoize implementation for regexes and ahocorasick #836
71.79% of diff hit (target 81.59%)
View this Pull Request on Codecov
71.79% of diff hit (target 81.59%)
Annotations
Check warning on line 462 in internal/corazawaf/rule.go
codecov / codecov/patch
internal/corazawaf/rule.go#L462
Added line #L462 was not covered by tests
Check warning on line 531 in internal/corazawaf/rule.go
codecov / codecov/patch
internal/corazawaf/rule.go#L531
Added line #L531 was not covered by tests
Check warning on line 44 in internal/operators/validate_nid.go
codecov / codecov/patch
internal/operators/validate_nid.go#L44
Added line #L44 was not covered by tests
Check warning on line 49 in internal/operators/validate_nid.go
codecov / codecov/patch
internal/operators/validate_nid.go#L49
Added line #L49 was not covered by tests
Check warning on line 738 in internal/seclang/directives.go
codecov / codecov/patch
internal/seclang/directives.go#L737-L738
Added lines #L737 - L738 were not covered by tests