| blib/lib/Authorization/AccessControl/ACL.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 20 | 55.0 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 0 | 18 | if keys %params |
| 25 | 12 | 6 | $base ? : |
| 12 | 6 | $base ? : | |
| 60 | 2 | 24 | if (&any(sub { $p->is_equal($_); } , @{$self->_base_instance->{'_grants'}})) { } |
| 69 | 0 | 0 | unless defined $v |
| 75 | 0 | 15 | if exists $filters{'resource'} |
| 76 | 0 | 15 | if exists $filters{'action'} |
| 77 | 0 | 0 | unless __contains($filters{'roles'}, $_->role) |
| 0 | 15 | if exists $filters{'roles'} | |
| 82 | 0 | 15 | if $self->{'_base'} |