Condition Coverage

blib/lib/Metabrik/Shell/Command.pm
Criterion Covered Total %
condition 0 34 0.0


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 0 $self->use_sudo and $< != 0
109 0 0 0 not ref $self->sudo_args and length $self->sudo_args
140 0 0 0 not $self->ignore_error and $? != 0
254 0 0 0 $self->use_sudo and $< != 0
256 0 0 0 not ref $self->sudo_args and length $self->sudo_args
295 0 0 0 $self->capture_stderr and $err ne "undef"
300 0 0 0 not $self->as_matrix and $self->as_array

or 2 conditions

line l !l condition
118 0 0 $ENV{'PAGER'} || 'less'
153 0 0 defined $self->shell && $self->shell->full_pwd || '/tmp'
155 0 0 defined $self->global && $self->global->homedir || defined $ENV{'HOME'} && $ENV{'HOME'} || '/tmp'
289 0 0 $out ||= "undef"
290 0 0 $err ||= "undef"

or 3 conditions

line l !l&&r !l&&!r condition
280 0 0 0 $err ||= $out