Branch Coverage

blib/lib/Tapper/Installer/Precondition/Package.pm
Criterion Covered Total %
branch 14 30 46.6


line true false branch
18 1 3 if ($package->{'url'})
20 1 0 if ($proto eq 'nfs') { }
26 0 1 if $error
43 0 3 if ($package->{'target_directory'})
45 0 0 unless -d $basedir
51 1 2 unless $filename =~ m[^/]
54 0 3 if $error
59 2 1 if ($type eq 'gzip') { }
0 1 elsif ($type eq 'tar') { }
0 1 elsif ($type eq 'bz2') { }
1 0 elsif ($type eq 'deb') { }
0 0 elsif ($type eq 'rpm') { }
61 0 2 if $error
65 0 0 if $error
69 0 0 if $error