Condition Coverage

lib/Ruby/Collections/Hash.pm
Criterion Covered Total %
condition 12 27 44.4


and 3 conditions

line !l l&&!r l&&r condition
203 0 0 0 p_obj(@{$ary_or_block;}[0]) eq p_obj($key) and p_obj(@{$ary_or_block;}[1]) eq p_obj($val)
671 3 0 1 p_obj(@{$ary_or_block;}[0]) eq p_obj($key) and p_obj(@{$ary_or_block;}[1]) eq p_obj($val)
766 1 0 1 defined $n and $n >= 2
1045 2 0 0 defined $block and $$self{$key}
2 0 0 defined $block and $$self{$key} and $$other_hash{$key}
1070 2 0 0 defined $block and $$self{$key}
2 0 0 defined $block and $$self{$key} and $$other_hash{$key}
1505 0 0 2 defined $group and $group->has_any

or 3 conditions

line l !l&&r !l&&!r condition
323 2 1 1 &$block($key, $val) or $cut_point