blib/lib/Dancer2/Plugin/Auth/Extensible/Rights.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
92 | 2 | 1 | ref $roles eq 'ARRAY' ? : |
95 | 1 | 4 | if ref $_ |
0 | 3 | if (grep {ref $_ ne 'ARRAY' if ref $_;} @roles) { } | |
0 | 5 | elsif (grep {ref $_ eq 'ARRAY';} @roles and @roles != 1) { } | |
108 | 1 | 2 | if ref $roles[0] eq 'ARRAY' |