| blib/lib/ACL/Lite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 22 | 81.8 |
| line | true | false | branch |
|---|---|---|---|
| 88 | 5 | 0 | if (exists $args{'permissions'}) |
| 91 | 1 | 4 | if ($type eq 'ARRAY') { } |
| 1 | 3 | elsif ($type eq 'CODE') { } | |
| 3 | 0 | elsif (defined $args{'permissions'}) { } | |
| 106 | 0 | 2 | unless length $perm |
| 114 | 1 | 4 | if ($$self{'uid'}) { } |
| 135 | 3 | 13 | if (ref $permissions eq 'ARRAY') { } |
| 142 | 0 | 16 | if ($uid and $uid ne $$self{'uid'}) |
| 150 | 11 | 5 | if (exists $$user_permissions{$perm}) |
| 173 | 6 | 16 | if ($$self{'volatile'}) |
| 177 | 3 | 19 | if (wantarray) |