blib/lib/Bot/IRC/Greeting.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 16 | 56.2 |
line | true | false | branch |
---|---|---|---|
15 | 0 | 1 | !ref($vars) ? : |
16 | 1 | 0 | ref $vars ? : |
25 | 1 | 0 | unless (ref $channels and not grep({$_ eq $in->{'forum'};} @$channels)) |
30 | 1 | 0 | unless defined $channels and not ref $channels and $channels == 0 |
36 | 0 | 1 | if (not $nick =~ /[a-z]/u) { } |
42 | 1 | 6 | if $letter =~ /[A-Z]/u |
45 | 0 | 1 | if $nick =~ /[0-9]/u |
46 | 0 | 1 | if $nick =~ /(_+)$/u |