| lib/PEF/Front/Model.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 22 | 45.4 |
| line | true | false | branch |
|---|---|---|---|
| 10 | 5 | 4 | if ($name =~ /^\^?PEF::Front/ or $name =~ /^\^/) { } |
| 21 | 0 | 0 | if ($model and not ref $model and $model =~ /^\^?\w+::/) { } |
| 26 | 0 | 0 | unless $@ or $class->can($can) |
| 27 | 0 | 0 | if $@ |
| 37 | 0 | 0 | if ref $cfg_model_sub ne 'CODE' |
| 38 | 0 | 0 | if $@ |
| 51 | 1 | 4 | if not ref $links or ref $links ne 'ARRAY' |
| 54 | 6 | 3 | if (not ref $link) { } |
| 3 | 0 | elsif (ref $link eq 'HASH') { } | |
| 66 | 3 | 6 | if (ref $handlers[$i]) { } |
| 73 | 0 | 5 | if (wantarray) { } |