Branch Coverage

blib/lib/Path/Tiny/Archive/Tar.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
54 3 1 if ($self->is_file) { }
1 0 elsif ($self->is_dir) { }
57 0 3 unless $file
62 0 3 unless $tar->add_files($file)
70 0 2 unless $file
74 0 2 unless $tar->add_files($file)
81 1 3 defined $level ? :
0 4 unless $tar->write($dest->stringify, defined $level ? $level : ())
104 0 2 unless $files
107 0 3 unless $file->extract($dest->child($file->full_path)->stringify)