blib/lib/Authorization/RBAC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 28 | 82.1 |
line | true | false | branch |
---|---|---|---|
90 | 6 | 28 | unless ref $obj |
102 | 68 | 2 | if ($obj2->can($parent_field)) { } |
117 | 24 | 40 | if ($obj2 eq $obj) { } |
123 | 12 | 52 | unless ($self->check_permission($roles, $obj2, $ops)) |
143 | 43 | 21 | if ($additional_operations) |
147 | 17 | 47 | unless $ops_to_access[0] |
153 | 0 | 50 | unless $op |
155 | 0 | 50 | if $already_checked{$op->name} |
161 | 0 | 51 | unless $r |
167 | 4 | 47 | if (not defined $result) { } |
9 | 38 | elsif (not $result) { } | |
38 | 0 | elsif ($result) { } | |
180 | 12 | 38 | unless $ret |
191 | 222 | 0 | unless $self->debug |