Condition Coverage

blib/lib/Data/ModeMerge.pm
Criterion Covered Total %
condition 55 67 82.0


and 3 conditions

line !l l&&!r l&&r condition
45 2564 9 5 $r2 and $f1 eq dmp($_)
46 9 2207 357 not $r2 and $needle eq $_
149 11 6 0 defined $dis and ref $dis ne 'ARRAY'
154 66 30 6 $dis && $self->_in($_->name, $dis)
177 34 0 0 defined $dis and ref $dis ne 'ARRAY'
180 34 0 0 $dis and $self->_in($mode, $dis)
192 2064 226 1 defined $dis and ref $dis ne 'ARRAY'
196 12384 1102 254 $dis && $self->_in($_->name, $dis)
247 488 546 2 defined $res and @{$self->mem->{$mk}{'todo'};}
274 770 1 5 not $c->allow_create_array and $tl ne 'ARRAY'
771 0 5 not $c->allow_create_array and $tl ne 'ARRAY' and $tr eq 'ARRAY'
277 765 1 5 not $c->allow_create_hash and $tl ne 'HASH'
766 0 5 not $c->allow_create_hash and $tl ne 'HASH' and $tr eq 'HASH'
280 758 1 7 not $c->allow_destroy_array and $tl eq 'ARRAY'
759 2 5 not $c->allow_destroy_array and $tl eq 'ARRAY' and $tr ne 'ARRAY'
283 753 0 8 not $c->allow_destroy_hash and $tl eq 'HASH'
753 3 5 not $c->allow_destroy_hash and $tl eq 'HASH' and $tr ne 'HASH'

or 3 conditions

line l !l&&r !l&&!r condition
59 107 0 0 $is_hashref or UNIVERSAL::isa($self->config, 'Data::ModeMerge::Config')
262 453 323 0 $mode //= $c->default_mode
292 387 19 350 $rl or $rr
337 0 2 4 not defined $p2->[$i] or $p1->[$i] ne $p2->[$i]

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
44 14 3 2 2564 $r1 xor $r2