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
44 2564 9 5 $r2 and $f1 eq Data::Dmp::dmp($_)
45 9 2207 357 not $r2 and $needle eq $_
148 10 6 0 defined $dis and ref $dis ne 'ARRAY'
153 60 30 6 $dis && $self->_in($_->name, $dis)
176 34 0 0 defined $dis and ref $dis ne 'ARRAY'
179 34 0 0 $dis and $self->_in($mode, $dis)
191 2064 226 1 defined $dis and ref $dis ne 'ARRAY'
195 12384 1102 254 $dis && $self->_in($_->name, $dis)
246 488 547 2 defined $res and @{$self->mem->{$mk}{'todo'};}
273 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'
276 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'
279 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'
282 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
58 107 0 0 $is_hashref or UNIVERSAL::isa($self->config, 'Data::ModeMerge::Config')
261 453 323 0 $mode //= $c->default_mode
291 387 19 350 $rl or $rr
336 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
43 14 3 2 2564 $r1 xor $r2