Condition Coverage

blib/lib/File/Stubb.pm
Criterion Covered Total %
condition 10 36 27.7


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 11 not $str =~ m([/\\])u and defined $p
0 0 0 not $no_path and -e $str
138 0 0 9 $self->{'Verbose'} and $self->{'Files'}[0] ne "-"
274 1 0 0 @{$self->{'Files'};} > 1 and grep {$_ eq "-";} @{$$self{"Files"};}

or 2 conditions

line l !l condition
99 1 10 $param{'no_path'} // 0
256 10 0 shift @ARGV // die($HELP)
259 9 0 $self->_get_template($temp) // die("'${temp}' is not a valid template\n")
267 1 0 $self->_get_template($temp, "no_path", 1) // die("'${temp}' is not a valid template\n")
278 0 0 shift @ARGV // die($HELP)
279 0 0 $self->_get_template($temp) // die("'${temp}' is not a valid template\n")

or 3 conditions

line l !l&&r !l&&!r condition
167 0 0 0 $have_basic or $have_perl
0 0 0 $have_basic or $have_perl or $have_shell
177 0 0 0 $have_perl or $have_shell
298 8 1 0 $self->{'Mode'} == 0 or $self->{'Mode'} == 1