Condition Coverage

blib/lib/FlyBy.pm
Criterion Covered Total %
condition 29 51 56.8


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
124 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
141 44 0 9 $whatsit and $whatsit eq 'ARRAY'
201 0 11 6 @clause and $in_reduce
251 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
124 28 0 &reftype($query_clauses) // ''
126 8 1 &reftype($reduce_list) // ''
167 36 0 $records->[$idx]{$_} // ''

or 3 conditions

line l !l&&r !l&&!r condition
101 28 0 61 $add_missing_key or exists $index_sets->{$key}
104 6 0 22 $index_sets->{$key}{$value} //= $self->_full_set->empty_clone
106 48 0 1 $index_sets->{$key}{$value} // $self->_full_set->empty_clone
126 18 0 9 not $reduce_list or (&reftype($reduce_list) // '') eq 'ARRAY' and scalar @$reduce_list
221 0 0 5 $in_reduce or scalar @clause != $expected_length
225 0 0 4 $in_reduce or scalar @clause != $expected_length
228 0 0 17 $in_reduce or scalar @clause != $expected_length - 1
230 0 0 5 $in_reduce or scalar @clause != $expected_length - 1