| blib/lib/Catalyst/Plugin/Authorization/RoleAbilities.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 12 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 1 | 1 | $@ ? : |
| 24 | 1 | 8 | if (&Scalar::Util::blessed($actions[0]) and $actions[0]->isa('Catalyst::Authentication::User')) |
| 32 | 1 | 8 | unless $user |
| 37 | 4 | 4 | if ($have->superset($need)) { } |
| 38 | 0 | 4 | if $c->debug |
| 41 | 0 | 4 | if $c->debug |