Branch Coverage

blib/lib/Devel/OverloadInfo.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
22 2 0 if (eval { do { require Sub::Util } } and defined &Sub::Util::subname) { }
29 0 0 unless ref $coderef
32 0 0 unless $cv->isa('B::CV')
36 0 0 if $gv->isa('B::SPECIAL')
38 0 0 $stash->isa('B::SPECIAL') ? :
54 28 669 if $value_ref
80 470 0 "$]" >= 5.016 ? :
136 1 457 unless is_overloaded($class)
137 8 449 $op eq 'fallback' ? :
138 436 21 unless my($stash, $func) = stash_with_symbol($class, "&$op_method")
143 13 8 if ($func == \&overload::nil) { }
145 13 0 if (my $value_ref = $stash->get_symbol("\$$op_method"))
147 3 10 if ($op eq 'fallback') { }
151 7 3 if (my($impl_stash, $impl_func) = stash_with_symbol($class, "&$value"))
161 15 6 if exists $info->{'code'}
181 1 6 unless is_overloaded($class)
185 434 16 unless my $info = overload_op_info($class, $op)