blib/lib/Bot/ChatBots/Minion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 37 | 43.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
15 | 0 | 0 | 2 | @_ && ref $_[0] |
60 | 0 | 0 | 2 | @_ && ref $_[0] |
103 | 1 | 1 | 0 | @_ && ref $_[0] |
line | l | !l | condition |
---|---|---|---|
17 | 2 | 0 | ($args->{'name'} // $self->name) // '<unknown dequeuer>' |
49 | 0 | 1 | $cache->{$name} //= sub { my $record = shift(); $Bot::ChatBots::Minion::log->info("enqueueing for $name"); $self->minion->enqueue($name, [$record]); return $record; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
17 | 0 | 2 | 0 | $args->{'name'} // $self->name |
20 | 1 | 0 | 1 | $args->{'downstream'} // $args->{'processor'} |
40 | 1 | 0 | 0 | $name //= $self->name |
54 | 2 | 0 | 0 | ref $self || $self |
61 | 0 | 2 | 0 | $args->{'name'} // $self->name |
89 | 0 | 2 | 0 | $conf->{'minion'} // eval { do { $app->minion } } |
95 | 1 | 1 | 0 | $conf->{'helper_name'} // $self->helper_name |
105 | 0 | 1 | 0 | $args->{'name'} // $self->name |