Branch Coverage

blib/lib/CPAN/Visitor.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
29 0 0 unless (-d $self->cpan and -d Path::Class::dir($self->cpan, 'authors', 'id'))
54 0 0 unless exists $params{$k}
55 0 0 if ref $params{$k} and ref $params{$k} eq 'ARRAY'
62 0 0 unless @search_dirs
72 0 0 unless -f $_
73 0 0 unless $params{'all_files'} or /$archive_re/
75 0 0 if /$re/
78 0 0 unless /$re/
87 0 0 if ($params{'append'}) { }
126 0 0 $$job{'stash'}{'prefer_bin'} ? :
127 0 0 $$job{'quiet'} ? :
137 0 0 unless ($Archive::Extract::WARN)
145 0 0 unless ($Archive::Extract::WARN)
150 0 0 unless ($extract_ok)
151 0 0 if $Archive::Extract::WARN
158 0 0 if (@children == 1 and -d $children[0]) { }
169 0 0 unless my $target_dir = $$job{'result'}{'extract'}
170 0 0 if (-d $target_dir) { }
171 0 0 unless (-x $target_dir)
172 0 0 unless $$job{'quiet'}
179 0 0 unless $$job{'quiet'}
245 0 0 $params{'jobs'} > 1 ? :
247 0 0 if $pm->start
271 0 0 unless $$job{'result'}{'check'} = $$params{'check'}($job)
273 0 0 unless $$job{'result'}{'extract'} = $$params{'extract'}($job)
275 0 0 unless $$job{'result'}{'enter'} = $$params{'enter'}($job)
281 0 0 if $@ and not $self->quiet