| blib/lib/JIP/Spy/Events.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 22 | 95.4 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 1 | 8 | if ($param{'want_array'}) |
| 31 | 1 | 8 | if (my $skip_methods = $param{'skip_methods'}) |
| 76 | 2 | 14 | if (%declarations) |
| 86 | 2 | 2 | if keys %{$self->times;} |
| 93 | 1 | 1 | unless $self->called |
| 100 | 1 | 13 | unless (&blessed($self)) |
| 123 | 9 | 0 | if (&blessed($self)) { } |
| 151 | 1 | 13 | if exists $self->skip_methods->{$param{'method_name'}} |
| 159 | 3 | 10 | if ($self->want_array) |
| 172 | 11 | 2 | unless $on_spy_event |
| 174 | 1 | 1 | if ((&reftype($on_spy_event) || '') ne "CODE") |