Branch Coverage

blib/lib/Test/Smoke/SourceTree.pm
Criterion Covered Total %
branch 37 58 63.7


line true false branch
70 5 29 ref $proto ? :
73 1 33 unless @_
78 0 33 unless chdir $dir
81 32 1 'File::Spec'->file_name_is_absolute($dir) ? :
157 0 200 if ($^O eq "VMS")
161 0 0 if @parts
163 61 139 if @dirs
223 0 70 $Test::Smoke::SourceTree::NOCASE ? :
233 0 12 unless chdir $self->tree_dir
237 98 164 unless -f $_
241 0 164 if $^O eq "VMS"
243 0 164 if $Test::Smoke::SourceTree::NOCASE
244 154 10 if (exists $manifest{$mani_name}) { }
249 2 8 if (not grep(($mani_name =~ /$_/), keys %ignore)) { }
280 12 13 unless (open MANIFEST, "< $manifile")
281 12 0 if $no_croak
287 0 157 $Test::Smoke::SourceTree::NOCASE ? :
288 0 157 if ($^O eq "VMS")
292 0 0 if (@parts > 1)
296 0 0 @dirs ? :
339 0 4 unless (open MANIFEST, "< $manifest")
346 82 0 /^([^\s]+)/ ? :
350 1 3 if -f $dot_patch
354 3 1 unless -d $dest_dir
360 0 83 unless $file
365 16 67 unless -d $dest_path
371 83 0 if $ok
372 83 0 if ($ok) { }
373 83 0 $ok ? :