blib/lib/Bot/ChatBots/Minion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 26 | 53.8 |
line | true | false | branch |
---|---|---|---|
16 | 2 | 0 | @_ && ref $_[0] ? : |
21 | 1 | 1 | unless my $ds = $args->{'downstream'} // $args->{'processor'} |
22 | 0 | 1 | ref $ds eq 'ARRAY' ? : |
41 | 0 | 1 | unless $name //= $self->name |
61 | 2 | 0 | @_ && ref $_[0] ? : |
62 | 0 | 2 | unless my $name = $args->{'name'} // $self->name |
70 | 2 | 3 | if (@_) |
72 | 0 | 2 | if (ref $minion eq 'ARRAY') |
85 | 0 | 2 | if (my $pc = $conf->{'Minion'}) { } |
86 | 0 | 0 | ref $pc eq 'ARRAY' ? : |
92 | 2 | 0 | if defined $minion |
94 | 0 | 2 | if exists $conf->{'name'} |
104 | 0 | 2 | @_ && ref $_[0] ? : |