lib/UR/Object/Index.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 60 | 98 | 61.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
112 | 16223 | 42 | 7 | $op eq '=' and not $not |
16124 | 30 | 0 | $op eq 'in' and not $not | |
16124 | 0 | 30 | $op eq 'in' and $not | |
15896 | 138 | 0 | $not and $op eq '=' || !$op | |
303 | 0 | 0 | 0 | length $k and length $value->{'value'} |
0 | 0 | 0 | length $k and length $value->{'value'} and $k ne $value->{'value'} | |
315 | 1 | 0 | 4 | $k >= $min && $k <= $max |
12 | 48 | 66 | $k ge $min && $k le $max | |
407 | 564 | 0 | 0 | $overrides && exists $overrides->{$_} |
470 | 0 | 0 | 0 | $changed_property ne 'create' and $changed_property ne 'load' |
0 | 0 | 0 | $changed_property ne 'create' and $changed_property ne 'load' and $changed_property ne '__define__' | |
477 | 0 | 0 | 0 | $changed_property ne 'delete' and $changed_property ne 'unload' |
502 | 0 | 1627 | 0 | $overrides && exists $overrides->{$_} |
536 | 196933 | 0 | 0 | $UR::Context::light_cache and substr($self->indexed_class_name, 0, 5) ne 'App::' |
line | l | !l | condition |
---|---|---|---|
71 | 0 | 1070 | $self->{'data_tree'} ||= {} |
383 | 23713 | 2675 | $hr->{$value} ||= {} |
440 | 6912 | 16490 | $UR::Object::Index::all_by_class_name_and_property_name{$class}{$property} ||= [] |
530 | 183085 | 302315 | $hr->{$value} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
112 | 50 | 8 | 16034 | $op eq 'true' or $op eq 'false' |
42 | 6 | 90 | $op eq '=' || !$op | |
203 | 0 | 0 | 58 | $op eq 'true' && $not || $op eq 'false' && !$not |
225 | 24 | 0 | 107 | $k eq '' || ($is_numeric ? $k != $value->{'value'} : $k ne $value->{'value'}) |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
195 | 0 | 34 | 0 | 441 | $k->isa($value->{'value'}) xor $not |
207 | 0 | 35 | 8 | 39 | $k xor $not |
240 | 36 | 1071 | 42 | 461 | $t xor $not |
254 | 30 | 598 | 48 | 197 | $t xor $not |
268 | 48 | 15262 | 30 | 18 | $t xor $not |
282 | 42 | 140 | 36 | 607 | $t xor $not |
293 | 0 | 15 | 0 | 2 | $k ne $value->{'value'} xor $not |
303 | 0 | 0 | 0 | 0 | length $k and length $value->{'value'} and $k ne $value->{'value'} xor $not |
318 | 42 | 28 | 36 | 25 | $t xor $not |