Condition Coverage

blib/lib/Sysadm/Install.pm
Criterion Covered Total %
condition 16 53 30.1


and 3 conditions

line !l l&&!r l&&r condition
291 0 0 3 @_ == 1 and defined $_[0]
304 2 0 1 $nice and $topdir eq $namedir
347 0 0 0 defined $tar_file and defined $dir
426 0 0 0 defined $input and length $input
671 6 0 0 $tar_file =~ /\.tar\.gz\b|\.tgz\b/ and not Log::Log4perl::Util::module_available('IO::Zlib')
756 0 1 0 defined $files[-1] and ref $files[-1] eq 'HASH'
814 0 1 0 defined $files[-1] and ref $files[-1] eq 'HASH'
913 5 2 0 defined $options and ref $options eq ''
1051 0 5 0 defined $args[-1] and ref $args[-1] eq 'HASH'
1102 4 1 0 $exit_code != 0 and $opts->{'raise_error'}
1252 1 0 10 defined $metas and $metas eq ':shell'
1259 1 10 0 defined $metas and $metas ne ':shell'
1325 0 0 0 defined $uid and defined $gid

or 2 conditions

line l !l condition
1625 0 0 $bufsize ||= 4096

or 3 conditions

line l !l&&r !l&&!r condition
408 0 0 0 @_ < 3 or ref $options ne 'ARRAY'
428 0 0 0 not $input =~ /^\d+$/ or $input == 0
0 0 0 not $input =~ /^\d+$/ or $input == 0 or $input > scalar @$options
1689 4 0 0 $orglen || length $data