Condition Coverage

blib/lib/POE/Component/IRC/Plugin/BotCommand.pm
Criterion Covered Total %
condition 15 54 27.7


and 3 conditions

line !l l&&!r l&&r condition
121 0 0 1 defined $self->{'Commands'}{$cmd}{'args'} and ref $self->{'Commands'}{$cmd}{'args'} eq "ARRAY"
0 0 1 defined $self->{'Commands'}{$cmd}{'args'} and ref $self->{'Commands'}{$cmd}{'args'} eq "ARRAY" and @{$self->{'Commands'}{$cmd}{'args'};}
0 1 0 defined $self->{'Commands'}{$cmd}{'args'} and ref $self->{'Commands'}{$cmd}{'args'} eq "ARRAY" and @{$self->{'Commands'}{$cmd}{'args'};} and @args_array < @{$self->{'Commands'}{$cmd}{'args'};} || !defined($self->{'Commands'}{$cmd}{'variable'}) && @args_array > @{$self->{'Commands'}{$cmd}{'args'};}
133 0 0 0 defined $self->{'Commands'}{$cmd}{'args'} and ref $self->{'Commands'}{$cmd}{'args'} eq "ARRAY"
0 0 0 defined $self->{'Commands'}{$cmd}{'args'} and ref $self->{'Commands'}{$cmd}{'args'} eq "ARRAY" and @{$self->{'Commands'}{$cmd}{'args'};}
139 0 0 1 defined $self->{'Commands'}{$cmd}{'args'} and ref $self->{'Commands'}{$cmd}{'args'} eq "ARRAY"
0 0 1 defined $self->{'Commands'}{$cmd}{'args'} and ref $self->{'Commands'}{$cmd}{'args'} eq "ARRAY" and @{$self->{'Commands'}{$cmd}{'args'};}
210 0 0 6 $self->{'Addressed'} && $public
228 0 0 1 defined $self->{'Commands'}{$cmd_resolved}{'args'} && ref $self->{'Commands'}{$cmd_resolved}{'args'} eq 'ARRAY'
231 0 0 1 defined $self->{'Commands'}{$cmd_resolved}{'args'} and ref $self->{'Commands'}{$cmd_resolved}{'args'} eq "ARRAY"
0 0 1 defined $self->{'Commands'}{$cmd_resolved}{'args'} and ref $self->{'Commands'}{$cmd_resolved}{'args'} eq "ARRAY" and @{$self->{'Commands'}{$cmd_resolved}{'args'};}
307 0 0 1 exists $usage->{'info'} and @{$usage->{'args'};}
336 6 0 0 $info->{'aliases'} and ref $info->{'aliases'} eq "ARRAY"
354 1 0 0 exists $self->{'Commands'}{$cmd}{'aliases'} and ref $self->{'Commands'}{$cmd}{'aliases'} eq "ARRAY"

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 1 @args_array < @{$self->{'Commands'}{$cmd}{'args'};} || !defined($self->{'Commands'}{$cmd}{'variable'}) && @args_array > @{$self->{'Commands'}{$cmd}{'args'};}
133 1 0 0 defined $self->{'Commands'}{$cmd}{'variable'} or defined $self->{'Commands'}{$cmd}{'args'} and ref $self->{'Commands'}{$cmd}{'args'} eq "ARRAY" and @{$self->{'Commands'}{$cmd}{'args'};}
218 0 3 0 $self->resolve_alias($cmd) || $cmd
291 0 0 0 $self->resolve_alias($cmd) || $cmd