| blib/lib/RBAC/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 11 | 1 | 9 | unless my $raw_roles = $args{'roles'} |
| 25 | 1 | 15 | unless my $raw = $self->{'raw_roles'}{$role} |
| 28 | 2 | 13 | if $cache->{$role} |
| 33 | 4 | 9 | unless $raw->{'all_from'} |
| 34 | 1 | 8 | unless $self->{'raw_roles'}{$from} |
| 39 | 0 | 5 | unless $role->{'can'} |
| 43 | 1 | 8 | unless $raw->{'can'} |
| 46 | 6 | 3 | unless $raw->{'except'} |