| blib/lib/Cookieville/Plugin/Authorize.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 10 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 74 | 5 | 9 | unless ($id and $$rules{$id}) |
| 78 | 1 | 8 | if (not @path or $path[0] eq 'sources') |
| 81 | 0 | 8 | unless ($$rules{$id}{$path[0]}) |
| 86 | 0 | 8 | unless $$rules{$id}{$path[0]} |
| 87 | 6 | 11 | if $m eq $method |