| blib/lib/Class/MOP/Mixin/HasOverloads.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 18 | 88.8 |
| line | true | false | branch |
|---|---|---|---|
| 56 | 1 | 17 | if (not ref $overload) { } |
| 1 | 16 | elsif (not &blessed($overload)) { } | |
| 63 | 1 | 0 | if $self->has_method($overload) |
| 81 | 1 | 17 | $overload->has_coderef ? : |
| 105 | 0 | 2 | if "$]" < "5.017" |
| 141 | 14 | 21 | if $map->{$op} |
| 144 | 2 | 19 | unless $info |
| 151 | 3 | 16 | if ($info->{'code'} and not $info->{'method_name'}) { } |
| 158 | 14 | 2 | if ($self->has_method($p{'method_name'})) |