line |
true |
false |
branch |
152
|
0 |
40 |
if (exists $spies{$proto}) { }
|
165
|
21 |
1 |
if ($spy)
|
191
|
40 |
0 |
unless $proto->can('metaclass')
|
201
|
20 |
20 |
if (ref $proto)
|
214
|
1 |
20 |
if (ref $self->{'proto'}) { }
|
230
|
0 |
40 |
if $metaclass->is_immutable
|
248
|
48 |
1 |
if ($_[0] eq $self->{'proto'}) { }
|
|
1 |
0 |
elsif (ref $_[0] and not ref $self->{'proto'} and $_[0]->isa($self->{'class'})) { }
|
256
|
8 |
41 |
if (ref $self->{'responses'}{$method} eq 'CODE') { }
|
|
2 |
39 |
elsif (ref $self->{'responses'}{$method} eq 'Class::MOP::Method') { }
|
268
|
4 |
41 |
if (wantarray)
|
269
|
2 |
2 |
if (ref $value eq 'ARRAY') { }
|
|
2 |
0 |
elsif (ref $value eq 'HASH') { }
|
294
|
35 |
38 |
unless (exists $self->{'calls'}{$self->{'current_method'}})
|
305
|
1 |
1 |
if (ref $self->{'proto'}) { }
|
324
|
2 |
8 |
if (want('VOID'))
|
335
|
0 |
4 |
if (scalar @{$self->calls;})
|
350
|
2 |
0 |
if (want('VOID'))
|
363
|
0 |
2 |
if (scalar @{$self->__callsMatching(@_);})
|