Branch Coverage

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


line true false branch
53 3 1 if ($self->is_file) { }
1 0 elsif ($self->is_dir) { }
56 0 3 unless $file
61 0 3 unless $tar->add_files($file)
69 0 2 unless $file
73 0 2 unless $tar->add_files($file)
80 1 3 defined $level ? :
0 4 unless $tar->write($dest->stringify, defined $level ? $level : ())
93 0 2 unless $files
96 0 3 unless $file->extract($dest->child($file->full_path)->stringify)