Condition Coverage

blib/lib/FlyBy.pm
Criterion Covered Total %
condition 28 48 58.3


and 2 conditions

line l !l condition
123 1 8 (&reftype($reduce_list) // '') eq 'ARRAY' and scalar @$reduce_list

and 3 conditions

line !l l&&!r l&&r condition
121 0 0 28 $query_clauses and (&reftype($query_clauses) // '') eq 'HASH'
0 1 27 $query_clauses and (&reftype($query_clauses) // '') eq 'HASH' and keys %$query_clauses
138 44 0 9 $whatsit and $whatsit eq 'ARRAY'
198 0 11 6 @clause and $in_reduce
248 0 0 0 $whatsit && $whatsit eq 'ARRAY' && scalar @$thing == 2

or 2 conditions

line l !l condition
67 12 1 &reftype($record) // 'no reference'
75 18 10 $add_it ||= 1
121 28 0 &reftype($query_clauses) // ''
123 8 1 &reftype($reduce_list) // ''
164 36 0 $records->[$idx]{$_} // ''

or 3 conditions

line l !l&&r !l&&!r condition
100 28 49 12 $add_missing_key || exists $index_sets->{$key}
103 54 0 23 $index_sets->{$key}{$value} //= $self->_full_set->empty_clone
123 18 0 9 not $reduce_list or (&reftype($reduce_list) // '') eq 'ARRAY' and scalar @$reduce_list
218 0 0 5 $in_reduce or scalar @clause != $expected_length
222 0 0 4 $in_reduce or scalar @clause != $expected_length
225 0 0 17 $in_reduce or scalar @clause != $expected_length - 1
227 0 0 5 $in_reduce or scalar @clause != $expected_length - 1