line |
true |
false |
branch |
16
|
0 |
6 |
if $could
|
20
|
3 |
1 |
unless $self->{'__spy'}->_mocked_subs->{$name} or $self->{'__base'} and $self->{'__base'}->can($name)
|
29
|
0 |
2 |
if $self->SUPER::isa($name)
|
33
|
1 |
1 |
if $self->{'__base'} and $self->{'__base'}->isa($name)
|
43
|
1 |
1 |
if $self->{'__base'} and $self->{'__base'}->DOES($name)
|
55
|
37 |
8 |
if (my $method = $self->{'__spy'}->_mocked_subs->{$method})
|
57
|
35 |
2 |
if ($method->isa('Test::Spy::Method')) { }
|
65
|
7 |
3 |
if ($self->{'__base'} and my $sref = $self->{'__base'}->can($method))
|
71
|
1 |
2 |
if $interface eq "strict"
|
74
|
1 |
1 |
if $interface eq "warn"
|