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
122 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'};}
134 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'};}
140 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'};}
211 0 0 6 $self->{'Addressed'} && $public
229 0 0 1 defined $self->{'Commands'}{$cmd_resolved}{'args'} && ref $self->{'Commands'}{$cmd_resolved}{'args'} eq 'ARRAY'
232 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'};}
308 0 0 1 exists $usage->{'info'} and @{$usage->{'args'};}
337 6 0 0 $info->{'aliases'} and ref $info->{'aliases'} eq 'ARRAY'
355 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
122 0 0 1 @args_array < @{$self->{'Commands'}{$cmd}{'args'};} || !defined($self->{'Commands'}{$cmd}{'variable'}) && @args_array > @{$self->{'Commands'}{$cmd}{'args'};}
134 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'};}
219 0 3 0 $self->resolve_alias($cmd) || $cmd
292 0 0 0 $self->resolve_alias($cmd) || $cmd