Branch Coverage

blib/lib/OrePAN2/Indexer.pm
Criterion Covered Total %
branch 24 38 63.1


line true false branch
48 4 10 if ($self->metacpan)
69 6 7 if $self->_maybe_index_from_metacpan($index, $archive_file)
103 0 7 unless -f $mfile
105 7 0 if $meta and $meta->{'provides'}
107 0 0 if ($@)
120 0 0 if $provides
131 7 6 unless $self->metacpan
136 0 6 unless (exists $lookup->{'archive'}{$archive})
143 0 6 unless ($provides and keys %{$provides;})
159 0 5 unless @{$files;}
190 0 6 unless @file_search
195 0 65 unless my $module = $file->module
196 65 0 is_ArrayRef($module) ? :
197 0 65 unless $inner->{'indexed'}
218 6 8 $no_compress ? :
225 6 8 if ($no_compress) { }
230 0 8 unless "IO::Zlib"->new($pkgfname, "w")
242 3 11 unless -d $authors_dir
248 61 13 unless /