| blib/lib/Bot/BasicBot/CommandBot.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 4 | 16 | 25.0 |
| line | true | false | branch |
|---|---|---|---|
| 42 | 1 | 1 | unless (exists $command{$package}) |
| 63 | 0 | 1 | if defined $trigger |
| 64 | 0 | 1 | if defined $address |
| 81 | 0 | 0 | if ($$self{'address'} and not $$data{'address'}) |
| 85 | 0 | 0 | if ($$self{'trigger'} and not $$data{'body'} =~ s/^\Q$$self{'trigger'}\E//u) |
| 91 | 0 | 0 | unless ($found) |
| 92 | 0 | 0 | if $$self{'bark'} |
| 97 | 0 | 0 | if (any sub { $_ eq 'said'; } , @{$$found{'events'};}) |