| lib/PEF/Front/Model.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 17 | 23.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 21 | 0 | 0 | 0 | $model and not ref $model |
| 0 | 0 | 0 | $model and not ref $model and $model =~ /^\^?\w+::/ |
| line | l | !l | condition |
|---|---|---|---|
| 35 | 0 | 0 | $model ||= 'rpc_site' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 10 | 0 | 5 | 4 | $name =~ /^\^?PEF::Front/ or $name =~ /^\^/ |
| 26 | 0 | 0 | 0 | $@ or $class->can($can) |
| 51 | 1 | 0 | 4 | not ref $links or ref $links ne 'ARRAY' |