Branch Coverage

blib/lib/Brackup/Root.pm
Criterion Covered Total %
branch 10 34 29.4


line true false branch
15 0 8 unless ($$self{'name'}) = $conf->name =~ /^SOURCE:(.+)$/
17 0 8 unless $$self{'name'} =~ /^\w+/
30 0 8 unless $$self{'max_composite_size'} > $$self{'merge_files_under'}
98 0 8 unless chdir $$self{'dir'}
109 40 102 if $dentry eq '.' or $dentry eq '..'
117 0 102 if $$self{'digcache_file'} and $path eq $$self{'digcache_file'}
131 0 524 if $path =~ /$pattern/
132 0 524 if $is_dir and "$path/" =~ /$pattern/
133 0 524 if $path =~ m[(^|/)\.brackup-digest\.db(-journal)?$]
177 0 0 unless ($dir eq '.')
188 0 0 if ($file->is_dir)
192 0 0 if ($file->is_file)
194 0 0 $size % 1024 ? :
195 0 0 if $show_all
206 0 0 unless my(@gpg_rcpts) = $self->gpg_rcpts
226 0 0 unless my $bytes = io_print_to_fh($data_fh, $cin)
233 0 0 if $? != 0