Branch Coverage

blib/lib/NEXT.pm
Criterion Covered Total %
branch 41 52 78.8


line true false branch
31 2 0 $b->isa($a) ? :
4 2 $a->isa($b) ? :
50 3 51 unless $caller_method eq $wanted_method
53 0 51 ref $self && overload::Overloaded($self) ? :
59 22 29 unless ($NEXT::NEXT{join $;, $key, $wanted_method})
64 22 13 if shift @forebears eq $caller_class
71 17 5 unless $wanted_method eq "AUTOLOAD"
74 47 26 $stash->{$caller_method} && *{"${_}::$caller_method";}{'CODE'} ? :
79 21 14 $stash->{'AUTOLOAD'} && *{"${_}::AUTOLOAD";}{'CODE'} ? :
82 5 17 unless $NEXT::NEXT{join $;, $key, $wanted_method}
8 14 unless @{[] unless $NEXT::NEXT{join $;, $key, $wanted_method};}
91 7 44 unless (defined $call_method)
92 5 2 unless do { $wanted_class =~ /^NEXT:.*:ACTUAL/ }
97 34 10 if ref $call_method eq "CODE"
99 8 2 if ($wanted_method eq "AUTOLOAD")
132 1 4 ref $self && overload::Overloaded($self) ? :
138 2 3 if $NEXT::ALREADY_IN_EVERY{join $;, $key, $wanted_method}++
142 2 1 if do { $wanted_class =~ /\bLAST\b/ }
145 3 0 unless $wanted_method eq "AUTOLOAD"
146 2 5 !*{$sub;}{'CODE'} || $seen{$sub}++ ? :
151 3 0 if (@every)
152 1 2 if ($want) { }
2 0 elsif (defined $want) { }
167 0 0 !*{$sub;}{'CODE'} || $seen{$sub}++ ? :
169 0 0 if ($want) { }
0 0 elsif (defined $want) { }