blib/lib/Net/SFTP/Foreign/Tempdir/Extract/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 18 | 0.0 |
line | true | false | branch |
---|---|---|---|
43 | 0 | 0 | unless my $ae = 'Archive::Extract'->new('archive', "$self") |
44 | 0 | 0 | unless my $ae_dir = 'File::Tempdir'->new |
45 | 0 | 0 | unless $ae->extract('to', $ae_dir->name) |
51 | 0 | 0 | unless -r $file |
53 | 0 | 0 | unless -f $file |
56 | 0 | 0 | unless -d $tmpdir->name |
58 | 0 | 0 | unless $file->move_to('Path::Class::File'->new($tmpdir->name, $file->basename)) |
60 | 0 | 0 | unless -r $file |
64 | 0 | 0 | wantarray ? : |