line |
true |
false |
branch |
33
|
0 |
8 |
if (not $self->store) { }
|
|
5 |
3 |
elsif (not UNIVERSAL::isa($self->store, 'Bot::BasicBot::Pluggable::Store')) { }
|
41
|
0 |
0 |
if ($store)
|
46
|
0 |
0 |
unless (UNIVERSAL::isa($store, 'Bot::BasicBot::Pluggable::Store'))
|
61
|
0 |
8 |
if ($self->logconfig) { }
|
93
|
0 |
14 |
unless $module
|
94
|
0 |
14 |
if $self->handler($module)
|
101
|
1 |
13 |
if -e "./$filename.pm"
|
102
|
1 |
13 |
if -e "./modules/$filename.pm"
|
119
|
0 |
14 |
unless $m and ref $m
|
120
|
0 |
14 |
unless ref($m) =~ /\Q$module\E/
|
132
|
0 |
0 |
unless $module
|
133
|
0 |
0 |
if $self->handler($module)
|
141
|
0 |
0 |
unless $module
|
142
|
0 |
0 |
unless $self->handler($module)
|
184
|
0 |
0 |
unless ($xb->get('user_priority') || $xb->get('priority') || 0) <=> ($xa->get('user_priority') || $xa->get('priority') || 0)
|
189
|
961 |
0 |
if wantarray
|
196
|
0 |
14 |
unless $name
|
198
|
0 |
14 |
if $self->{'handlers'}{lc $name}
|
205
|
0 |
0 |
unless $name
|
207
|
0 |
0 |
unless $self->{'handlers'}{lc $name}
|
214
|
13 |
1321 |
if @_
|
220
|
3 |
8 |
if @_
|
226
|
3 |
8 |
if @_
|
237
|
0 |
216 |
if ($method eq 'tick') { }
|
243
|
0 |
216 |
if $logger->is_trace and @args
|
246
|
216 |
0 |
unless $self->handler($who)->can($method)
|
248
|
0 |
0 |
if $logger->is_trace
|
266
|
0 |
1 |
do {
$mess->{'body'} eq 'modules'
} ? :
|
|
1 |
0 |
$mess->{'body'} ? :
|
277
|
1 |
0 |
if (my $handler = $self->handler($mess->{'body'})) { }
|
314
|
0 |
754 |
if $logger->is_trace and $mess
|
323
|
213 |
541 |
if ($priority and $response)
|
325
|
0 |
213 |
if $logger->is_trace
|
327
|
1 |
212 |
if $response eq '1'
|
339
|
214 |
0 |
if ($mess->{'reply_hook'}) { }
|