Condition Coverage

blib/lib/Metabrik/Core/Shell.pm
Criterion Covered Total %
condition 0 222 0.0


and 3 conditions

line !l l&&!r l&&r condition
335 0 0 0 $start == 0 || substr($line, 0, $start) =~ /^\s*$/ and not $word =~ m[/]
639 0 0 0 length $alias and @cmd == 0
773 0 0 0 $brik =~ /^[a-z]/ and $brik =~ /::/
802 0 0 0 $count == 2 and length $word > 0
805 0 0 0 $self->log->level > 2 and not defined $available
1098 0 0 0 $count == 2 and length $word > 0
1123 0 0 0 defined $brik and defined $attribute
0 0 0 defined $brik and defined $attribute and defined $value
1160 0 0 0 $count == 2 and length $word > 0
0 0 0 $count == 2 and length $word == 0
0 0 0 $count == 3 and length $word > 0
1168 0 0 0 $self->log->level > 2 and not exists $used->{$brik}
1181 0 0 0 $self->log->level > 2 and not exists $used->{$brik}
1209 0 0 0 defined $brik and not defined $attribute
0 0 0 defined $brik and defined $attribute
1266 0 0 0 defined $brik and defined $command
1288 0 0 0 $module eq 'Term::Shell' and $command eq 'exec'
1332 0 0 0 $count == 2 and length $word > 0
0 0 0 $count == 2 and length $word == 0
0 0 0 $count == 3 and length $word > 0
1392 0 0 0 defined $args[0] and $args[0] =~ m[^\s*/]
1490 0 0 0 $last =~ /^\$/ and not $line =~ /\s+$/
1570 0 0 0 $last =~ /^\$/ and not $line =~ /\s+$/

or 2 conditions

line l !l condition
153 0 0 $ENV{'PATH'} || ''
394 0 0 'File::HomeDir'->my_home || '/tmp'
402 0 0 Cwd::getcwd() || '/tmp'
405 0 0 $self->{'path_home'} || '/tmp'
1509 0 0 $1 || '/'
1595 0 0 $1 || '/'

or 3 conditions

line l !l&&r !l&&!r condition
335 0 0 0 $start == 0 || substr($line, 0, $start) =~ /^\s*$/
802 0 0 0 $count == 1 or $count == 2 and length $word > 0
837 0 0 0 $self->help_show_base_attributes or $self->help_show_base_all
0 0 0 $self->help_show_base_attributes or $self->help_show_base_all or $self->show_base_attributes
0 0 0 $self->help_show_base_attributes or $self->help_show_base_all or $self->show_base_attributes or $self->show_base_all
0 0 0 $self->help_show_base_attributes or $self->help_show_base_all or $self->show_base_attributes or $self->show_base_all or $self->help_show_all
0 0 0 $self->help_show_base_attributes or $self->help_show_base_all or $self->show_base_attributes or $self->show_base_all or $self->help_show_all or $self->show_all
844 0 0 0 $self->help_show_inherited_attributes or $self->help_show_inherited_all
0 0 0 $self->help_show_inherited_attributes or $self->help_show_inherited_all or $self->show_inherited_attributes
0 0 0 $self->help_show_inherited_attributes or $self->help_show_inherited_all or $self->show_inherited_attributes or $self->show_inherited_all
0 0 0 $self->help_show_inherited_attributes or $self->help_show_inherited_all or $self->show_inherited_attributes or $self->show_inherited_all or $self->help_show_all
0 0 0 $self->help_show_inherited_attributes or $self->help_show_inherited_all or $self->show_inherited_attributes or $self->show_inherited_all or $self->help_show_all or $self->show_all
880 0 0 0 $self->help_show_base_commands or $self->help_show_base_all
0 0 0 $self->help_show_base_commands or $self->help_show_base_all or $self->show_base_commands
0 0 0 $self->help_show_base_commands or $self->help_show_base_all or $self->show_base_commands or $self->show_base_all
0 0 0 $self->help_show_base_commands or $self->help_show_base_all or $self->show_base_commands or $self->show_base_all or $self->help_show_all
0 0 0 $self->help_show_base_commands or $self->help_show_base_all or $self->show_base_commands or $self->show_base_all or $self->help_show_all or $self->show_all
887 0 0 0 $self->help_show_inherited_commands or $self->help_show_inherited_all
0 0 0 $self->help_show_inherited_commands or $self->help_show_inherited_all or $self->show_inherited_commands
0 0 0 $self->help_show_inherited_commands or $self->help_show_inherited_all or $self->show_inherited_commands or $self->show_inherited_all
0 0 0 $self->help_show_inherited_commands or $self->help_show_inherited_all or $self->show_inherited_commands or $self->show_inherited_all or $self->help_show_all
0 0 0 $self->help_show_inherited_commands or $self->help_show_inherited_all or $self->show_inherited_commands or $self->show_inherited_all or $self->help_show_all or $self->show_all
923 0 0 0 $self->comp_show_base_attributes or $self->comp_show_base_all
0 0 0 $self->comp_show_base_attributes or $self->comp_show_base_all or $self->show_base_attributes
0 0 0 $self->comp_show_base_attributes or $self->comp_show_base_all or $self->show_base_attributes or $self->show_base_all
0 0 0 $self->comp_show_base_attributes or $self->comp_show_base_all or $self->show_base_attributes or $self->show_base_all or $self->comp_show_all
0 0 0 $self->comp_show_base_attributes or $self->comp_show_base_all or $self->show_base_attributes or $self->show_base_all or $self->comp_show_all or $self->show_all
930 0 0 0 $self->comp_show_inherited_attributes or $self->comp_show_inherited_all
0 0 0 $self->comp_show_inherited_attributes or $self->comp_show_inherited_all or $self->show_inherited_attributes
0 0 0 $self->comp_show_inherited_attributes or $self->comp_show_inherited_all or $self->show_inherited_attributes or $self->show_inherited_all
0 0 0 $self->comp_show_inherited_attributes or $self->comp_show_inherited_all or $self->show_inherited_attributes or $self->show_inherited_all or $self->comp_show_all
0 0 0 $self->comp_show_inherited_attributes or $self->comp_show_inherited_all or $self->show_inherited_attributes or $self->show_inherited_all or $self->comp_show_all or $self->show_all
966 0 0 0 $self->comp_show_base_commands or $self->comp_show_base_all
0 0 0 $self->comp_show_base_commands or $self->comp_show_base_all or $self->show_base_commands
0 0 0 $self->comp_show_base_commands or $self->comp_show_base_all or $self->show_base_commands or $self->show_base_all
0 0 0 $self->comp_show_base_commands or $self->comp_show_base_all or $self->show_base_commands or $self->show_base_all or $self->comp_show_all
0 0 0 $self->comp_show_base_commands or $self->comp_show_base_all or $self->show_base_commands or $self->show_base_all or $self->comp_show_all or $self->show_all
973 0 0 0 $self->comp_show_inherited_commands or $self->comp_show_inherited_all
0 0 0 $self->comp_show_inherited_commands or $self->comp_show_inherited_all or $self->show_inherited_commands
0 0 0 $self->comp_show_inherited_commands or $self->comp_show_inherited_all or $self->show_inherited_commands or $self->show_inherited_all
0 0 0 $self->comp_show_inherited_commands or $self->comp_show_inherited_all or $self->show_inherited_commands or $self->show_inherited_all or $self->comp_show_all
0 0 0 $self->comp_show_inherited_commands or $self->comp_show_inherited_all or $self->show_inherited_commands or $self->show_inherited_all or $self->comp_show_all or $self->show_all
1064 0 0 0 exists $attributes->{$arg2} or exists $base_attributes->{$arg2}
0 0 0 exists $commands->{$arg2} or exists $base_commands->{$arg2}
1098 0 0 0 $count == 1 or $count == 2 and length $word > 0
1160 0 0 0 $count == 1 or $count == 2 and length $word > 0
1332 0 0 0 $count == 1 or $count == 2 and length $word > 0