| blib/lib/Path/Tiny/Archive/Tar.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 12 | 20 | 60.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 57 | 3 | 1 | if ($self->is_file) { } | 
| 1 | 0 | elsif ($self->is_dir) { } | |
| 60 | 0 | 3 | unless $file | 
| 65 | 0 | 3 | unless $tar->add_files($file) | 
| 73 | 0 | 2 | unless $file | 
| 77 | 0 | 2 | unless $tar->add_files($file) | 
| 84 | 1 | 3 | defined $level ? : | 
| 0 | 4 | unless $tar->write($dest->stringify, defined $level ? $level : ()) | |
| 97 | 0 | 2 | unless $files | 
| 100 | 0 | 3 | unless $file->extract($dest->child($file->full_path)->stringify) |