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
676 6 0 0 $tar_file =~ /\.tar\.gz\b|\.tgz\b/ and not Log::Log4perl::Util::module_available('IO::Zlib')
761 0 1 0 defined $files[-1] and ref $files[-1] eq 'HASH'
819 0 1 0 defined $files[-1] and ref $files[-1] eq 'HASH'
918 5 2 0 defined $options and ref $options eq ''
1056 0 5 0 defined $args[-1] and ref $args[-1] eq 'HASH'
1107 4 1 0 $exit_code != 0 and $opts->{'raise_error'}
1257 1 0 10 defined $metas and $metas eq ':shell'
1264 1 10 0 defined $metas and $metas ne ':shell'
1330 0 0 0 defined $uid and defined $gid

or 2 conditions

line l !l condition
1630 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
1694 4 0 0 $orglen || length $data