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 |
5 |
if $self->SUPER::isa($name)
|
33
|
1 |
4 |
if $self->{'__base'} and $self->{'__base'}->isa($name)
|
43
|
0 |
3 |
if $self->{'__base'} and $self->{'__base'}->does($name)
|
53
|
1 |
4 |
if $self->{'__base'} and $self->{'__base'}->DOES($name)
|
65
|
37 |
8 |
if (my $method = $self->{'__spy'}->_mocked_subs->{$method})
|
67
|
35 |
2 |
if ($method->isa('Test::Spy::Method')) { }
|
75
|
7 |
3 |
if ($self->{'__base'} and my $sref = $self->{'__base'}->can($method))
|
81
|
1 |
2 |
if $interface eq "strict"
|
84
|
1 |
1 |
if $interface eq "warn"
|
94
|
9 |
2 |
if ($self->{'__spy'}->has_imitates)
|
96
|
6 |
3 |
if ref $imitates[0] eq "ARRAY"
|
100
|
9 |
3 |
if $type eq $name
|