Condition Coverage

blib/lib/Class/Multimethods/Pure.pm
Criterion Covered Total %
condition 30 58 51.7


and 3 conditions

line !l l&&!r l&&r condition
319 0 79 1157 ref $self eq 'Class::Multimethods::Pure::Type::Package' and ref $other eq 'Class::Multimethods::Pure::Type::Package'
606 0 49 1035 $cmp and not $proper
872 10 70 68 exists $_[0][$position] and $type->matches($_[0][$position])
1014 8 39 8 $conds[$i]{'position'} == $conds[$j]{'position'} and $conds[$i]{'type'}->subset($conds[$j]{'type'})
47 4 4 $conds[$i]{'position'} == $conds[$j]{'position'} and $conds[$i]{'type'}->subset($conds[$j]{'type'}) and $conds[$j]{'type'}->subset($conds[$i]{'type'})

or 2 conditions

line l !l condition
672 0 55 $o{'Variant'} || 'Class::Multimethods::Pure::Variant'
806 0 17 $opt{'Variant'} || 'Class::Multimethods::Pure::Variant'

or 3 conditions

line l !l&&r !l&&!r condition
43 0 87 99 not @_ or ref $_[0] eq 'CODE'
68 57 30 0 $$registry{'multi'}{$name} ||= 'Class::Multimethods::Pure::Method'->new('Core', $$registry{'multiparam'}{$name}{'Core'}, 'Variant', $$registry{'multiparam'}{$name}{'Variant'})
308 0 555 0 ref $class || $class
377 0 21 0 ref $class || $class
412 0 90 0 ref $class || $class
437 0 63 0 ref $class || $class
478 0 3 0 ref $class || $class
573 402 0 0 $o{'params'} || croak(q[Multi needs a list of 'params' types])
402 0 0 $o{'code'} || croak(q[Multi needs a 'code'ref])
0 402 0 ref $class || $class
644 0 0 51 $opt{'Core'} || $Class::Multimethods::Pure::DEFAULT_CORE
672 0 55 0 ref $class || $class
806 0 17 0 ref $class || $class