| blib/lib/Class/Method/Auto.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 22 | 68.1 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 1 | 2 | if (ref $_ eq 'Regexp') { } |
| 1 | 1 | elsif ($_ eq '-attributes') { } | |
| 29 | 1 | 2 | if (@methods) { } |
| 41 | 1 | 0 | if defined $sub |
| 47 | 1 | 0 | unless defined *{"${target}::$method";}{'CODE'} |
| 55 | 3 | 0 | if ($regexp) |
| 56 | 2 | 1 | unless $method =~ /$regexp/ |
| 60 | 0 | 1 | unless defined $sub |
| 61 | 1 | 0 | if ($check_attributes) |
| 64 | 0 | 1 | unless exists $attr{'method'} |
| 70 | 0 | 2 | if (defined *{"${target}::AUTOLOAD";}{'CODE'}) { } |