| blib/lib/POE/Component/IRC/Plugin/BotAddressed.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 16 | 56.2 |
| line | true | false | branch |
|---|---|---|---|
| 10 | 0 | 2 | if @_ & 1 |
| 33 | 0 | 1 | unless $irc->isupport("CHANTYPES") |
| 36 | 0 | 1 | unless $what =~ /$me/i |
| 39 | 1 | 0 | if ($recipient =~ /^[$chantypes]/) |
| 40 | 0 | 1 | if $self->{'eat'} |
| 56 | 0 | 1 | unless defined $cmd or $what =~ /$me/i |
| 59 | 2 | 1 | if (defined $cmd) { } |
| 67 | 0 | 3 | $self->{'eat'} ? : |