feat(queryopt): set simplification optimizer #3051
16.38% of diff hit (target 75.52%)
View this Pull Request on Codecov
16.38% of diff hit (target 75.52%)
Annotations
Check warning on line 50 in pkg/query/mutations.go
codecov / codecov/patch
pkg/query/mutations.go#L50
Added line #L50 was not covered by tests
Check warning on line 61 in pkg/query/queryopt/registry.go
codecov / codecov/patch
pkg/query/queryopt/registry.go#L61
Added line #L61 was not covered by tests
Check warning on line 59 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L45-L59
Added lines #L45 - L59 were not covered by tests
Check warning on line 76 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L73-L76
Added lines #L73 - L76 were not covered by tests
Check warning on line 86 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L78-L86
Added lines #L78 - L86 were not covered by tests
Check warning on line 92 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L89-L92
Added lines #L89 - L92 were not covered by tests
Check warning on line 96 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L94-L96
Added lines #L94 - L96 were not covered by tests
Check warning on line 103 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L98-L103
Added lines #L98 - L103 were not covered by tests
Check warning on line 114 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L110-L114
Added lines #L110 - L114 were not covered by tests
Check warning on line 133 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L125-L133
Added lines #L125 - L133 were not covered by tests
Check warning on line 135 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L135
Added line #L135 was not covered by tests
Check warning on line 150 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L145-L150
Added lines #L145 - L150 were not covered by tests
Check warning on line 160 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L156-L160
Added lines #L156 - L160 were not covered by tests
Check warning on line 177 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L173-L177
Added lines #L173 - L177 were not covered by tests
Check warning on line 191 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L188-L191
Added lines #L188 - L191 were not covered by tests
Check warning on line 195 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L193-L195
Added lines #L193 - L195 were not covered by tests
Check warning on line 200 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L197-L200
Added lines #L197 - L200 were not covered by tests
Check warning on line 204 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L202-L204
Added lines #L202 - L204 were not covered by tests
Check warning on line 208 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L208
Added line #L208 was not covered by tests
Check warning on line 225 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L218-L225
Added lines #L218 - L225 were not covered by tests
Check warning on line 238 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L235-L238
Added lines #L235 - L238 were not covered by tests
Check warning on line 243 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L240-L243
Added lines #L240 - L243 were not covered by tests
Check warning on line 249 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L245-L249
Added lines #L245 - L249 were not covered by tests
Check warning on line 254 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L252-L254
Added lines #L252 - L254 were not covered by tests
Check warning on line 263 in pkg/query/queryopt/set_simplification.go
codecov / codecov/patch
pkg/query/queryopt/set_simplification.go#L256-L263
Added lines #L256 - L263 were not covered by tests