Branch Coverage

blib/lib/Footprintless/Extract.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
27 0 8 if -e $to and not -d $to
31 6 2 if ($self->{'type'} eq 'zip')
34 2 6 if ($self->{'type'} eq 'tar')
40 0 8 if $error
48 0 8 unless $options{'archive'}
51 1 7 $options{'type'} ? :
52 6 2 if ($dot_extension =~ /\.zip|\.war|\.jar|\.ear|\.twbx$/) { }
2 0 elsif ($dot_extension =~ /\.tar|\.tar\.gz|\.tgz$/) { }
87 28 26 unless (-d $dest_dir)
88 0 28 unless make_path($dest_dir)
91 28 26 unless ($name)
92 0 28 if $status < 0
105 0 26 unless utime $stored_time, $stored_time, $dest_file
108 0 6 if $status < 0
112 0 6 if $error