| blib/lib/Bot/ChatBots/Auth.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 12 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 9 | 0 | if (keys %$users) |
| 25 | 1 | 6 | if (exists $users->{'blacklist'}{$id}) |
| 29 | 1 | 5 | if (scalar keys %{$$users{'whitelist'};} and not exists $users->{'whitelist'}{$id}) |
| 38 | 5 | 0 | if (keys %$channels) |
| 43 | 1 | 3 | if (exists $channels->{'blacklist'}{$id}) |
| 47 | 1 | 2 | if (scalar keys %{$$channels{'whitelist'};} and not exists $channels->{'whitelist'}{$id}) |