Condition Coverage

blib/lib/Multi/Dispatch.pm
Criterion Covered Total %
condition 0 149 0.0


and 3 conditions

line !l l&&!r l&&r condition
386 0 0 0 $from and $frommodule
0 0 0 $from and $fromname
457 0 0 0 $keyword eq "multi" and $common
465 0 0 0 $keyword eq "multimethod" and not $object_pad_active
472 0 0 0 $object_pad_active && $keyword eq 'multimethod'
521 0 0 0 $keyword eq "multimethod" and not $object_pad_active
584 0 0 0 $keyword eq 'multimethod' && exists $INC{'Object/Pad.pm'}
639 0 0 0 $keyword eq "multi" and not $autofrom
645 0 0 0 $info and $info->{'package'} ne $caller_package
899 0 0 0 defined $xn and not defined $yn
0 0 0 not defined $xn and defined $yn
0 0 0 ref $xn and ref $yn
1066 0 0 0 exists $param->{'default'} and $param->{'default'} =~ /\A\s*\Z/u
1074 0 0 0 $default =~ /\b return \b/ux and $default =~ /$HAS_RETURN_STATEMENT/u
0 0 0 $default =~ /\b return \b/ux and $default =~ /$HAS_RETURN_STATEMENT/u and $Multi::Dispatch::has_return
1081 0 0 0 $seen_option and not $param->{'slurpy'}
0 0 0 $seen_option and not $param->{'slurpy'} and not $param->{'optional'}
1139 0 0 0 not $seen{$type}++ and eval " no warnings; grep defined, \@${type}::{qw} "
0 0 0 not $seen{$type}++ and eval " no warnings; grep defined, \@${type}::{qw} " and warnings::enabled("ambiguous")
1161 0 0 0 $param->{'expr'} and $param->{'expr'} ne $param->{'var'}
1281 0 0 0 $seen_slurpy and $params[-1]{'sigil'} eq "%"
1463 0 0 0 $before && $before =~ /1/u
0 0 0 $constraint_count && $constraint_count > $destructure_count

or 2 conditions

line l !l condition
392 0 0 $from //= 0
393 0 0 $frommodule //= ""
394 0 0 $params //= ""
395 0 0 $body //= ""
491 0 0 $match{'where_class'} //= ""
753 0 0 $impl->{$package} // []
1018 0 0 $arg{lc $1} // die("Internal error")
1126 0 0 $param->{'var'} // "\$"
1310 0 0 ($_->{'subby'} // $_->{'alias'}) // ""
1414 0 0 $cap{'default'} // "undef"

or 3 conditions

line l !l&&r !l&&!r condition
387 0 0 0 $fromname //= $name
406 0 0 0 !$nextkeyword || $nextkeyword ne $keyword || $nextname ne $name
569 0 0 0 $_->{'optional'} || $_->{'slurpy'}
884 0 0 0 $Multi::Dispatch::b->{'prec'} cmp $Multi::Dispatch::a->{'prec'} or $Multi::Dispatch::a->{'pack'} eq $Multi::Dispatch::b->{'pack'} ? 0 : ($Multi::Dispatch::a->{'pack'}->isa($Multi::Dispatch::b->{'pack'}) ? -1 : ($Multi::Dispatch::b->{'pack'}->isa($Multi::Dispatch::a->{'pack'}) ? 1 : 0))
899 0 0 0 defined $xn || defined $yn
0 0 0 ref $xn || ref $yn
907 0 0 0 $yn eq "OBJ" or eval { do { $xn->isa($yn) } }
0 0 0 $xn eq "OBJ" or eval { do { $yn->isa($xn) } }
1091 0 0 0 $seen_option ||= $param->{'optional'}
1102 0 0 0 $param->{'var'} //= $nameless_name . $nameless_num++
1219 0 0 0 $sig[-1] eq 'undef' || $sig[-1] =~ /^q\{/u
1255 0 0 0 $param->{'array'} or $param->{'hash'}
1256 0 0 0 $param->{'optional'} or exists $param->{'slurpy'}
1284 0 0 0 !$params[-1]{'var'} || $params[-1]{'var'} =~ /\A._____/u
1310 0 0 0 $_->{'subby'} // $_->{'alias'}
1321 0 0 0 $source_var_desc // "\\\$ARG[$param_num]"
1400 0 0 0 $cap{'key'} //= $cap{'name'}
1425 0 0 0 length $internal_slurpy || $has_optionals
1426 0 0 0 length $internal_slurpy || $has_optionals
1495 0 0 0 $msg =~ s/ \n /\nat $file line $line/gmsux or $msg =~ s/ \h* / at $file line $line/gmsux