Branch Coverage

blib/lib/MyCPAN/Indexer.pm
Criterion Covered Total %
branch 1 86 1.1


line true false branch
62 0 0 unless (-e $dist)
71 0 0 unless $self->setup_dist_info($dist)
73 0 0 unless $self->examine_dist
138 0 0 unless ($self->$method)
143 0 0 if ($die_on_error)
164 0 0 unless $self->dist_info('modules')
176 0 0 unless $self->dist_info('tests')
317 0 0 unless ($self->dist_info('dist_size'))
384 0 0 defined $ENV{'PREFER_BIN'} ? :
397 0 0 unless $self->get_unpack_dir
402 0 0 if ($extractor->type eq 'gz')
406 0 0 unless eval { do { $extractor = 'Archive::Extract'->new('archive', $dist, 'type', 'tgz') } }
411 0 0 unless (ref $extractor)
423 0 0 unless ($rc or $^O =~ /Win32/)
463 0 0 if ($@)
496 0 0 if (grep {-e $_;} @files)
517 0 0 unless ($found[0])
523 0 0 if (chdir $found[0])
549 0 0 unless (-e 'Makefile.PL' or -e 'Build.PL')
621 0 0 unless (-d 'blib/lib')
631 0 0 if m[^blib/]
659 0 0 unless (@modules)
683 0 0 unless (@modules)
707 0 0 unless (-e 'META.yml')
715 0 0 unless (exists $$yaml{'provides'})
754 0 0 unless (@modules)
778 0 0 if (-e 'META.yml')
829 0 0 unless $_[0]->$method
852 0 0 if -e 'test.pl'
879 0 0 unless $_[0]->$method
916 0 0 if $@
917 0 0 unless (defined $file)
964 0 0 $file eq 'Build.PL' ? :
1055 0 0 unless ($result)
1072 0 2 unless @packages
1133 0 0 !$defined_count ? :
1135 0 0 if $@
1139 0 0 if $@
1153 0 0 if ($use_extractor->error)
1200 0 0 unless eval { do { eval "require $class" } }
1206 0 0 unless -e $file
1233 0 0 unless eval { do { eval "require $class" } }
1340 0 0 unless ($^O =~ /Win32/)