| blib/lib/rubyisms.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 16 | 68.7 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 3 | 1 | unless (caller())[0] eq 'Class' |
| 29 | 8 | 3 | if (ref $their_args[0] and eval { do { $their_args[0]->isa($call_pack) } }) |
| 41 | 0 | 4 | if (not @their_args or ref $their_args[0] ne 'CODE') |
| 45 | 3 | 1 | unless $stuff[0] == $their_args[0] |
| 51 | 3 | 0 | if (@_) |
| 57 | 0 | 0 | unless ($self) |
| 84 | 2 | 2 | if (ref $class) |
| 88 | 4 | 0 | if $x = $_->can($method) |