blib/lib/Bot/ChatBots/Minion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 26 | 53.8 |
line | true | false | branch |
---|---|---|---|
15 | 2 | 0 | @_ && ref $_[0] ? : |
20 | 1 | 1 | unless my $ds = $args->{'downstream'} // $args->{'processor'} |
21 | 0 | 1 | ref $ds eq 'ARRAY' ? : |
40 | 0 | 1 | unless $name //= $self->name |
60 | 2 | 0 | @_ && ref $_[0] ? : |
61 | 0 | 2 | unless my $name = $args->{'name'} // $self->name |
69 | 2 | 3 | if (@_) |
71 | 0 | 2 | if (ref $minion eq 'ARRAY') |
84 | 0 | 2 | if (my $pc = $conf->{'Minion'}) { } |
85 | 0 | 0 | ref $pc eq 'ARRAY' ? : |
91 | 2 | 0 | if defined $minion |
93 | 0 | 2 | if exists $conf->{'name'} |
103 | 0 | 2 | @_ && ref $_[0] ? : |