Branch Coverage

blib/lib/App/Midgen.pm
Criterion Covered Total %
branch 0 188 0.0


line true false branch
62 0 0 if $self->experimental
70 0 0 if ($self->experimental)
77 0 0 if $self->found_twins
81 0 0 if $self->debug
84 0 0 if ($self->{'RuntimeRequires'}{$module})
85 0 0 if $self->debug
91 0 0 if $self->debug
99 0 0 if $self->meta2
101 0 0 if ($self->meta2) { }
126 0 0 if $self->{'format'} eq 'dsl' or 'mi'
128 0 0 if $self->verbose == 2
140 0 0 if $self->debug
158 0 0 if $self->debug
179 0 0 if $self->verbose or $self->format eq 'infile'
192 0 0 if (defined $files_checked)
193 0 0 if $files_checked >= 3
197 0 0 unless $filename =~ /[.]pm$/msx
223 0 0 if (defined -d $directory)
227 0 0 if $self->debug
243 0 0 if $self->is_perlfile($filename) == 0
268 0 0 if (grep {$_ =~ /^Dist::Zilla::Role::PluginBundle/;} @modules)
273 0 0 if ($ppi_tqs)
281 0 0 if $module =~ /^Dist::Zilla::Role::PluginBundle/
282 0 0 if $module =~ /\A[-|:|\d]/
283 0 0 unless $module =~ /\A(?:[[a-zA-Z])/
284 0 0 if $module =~ m([.|$|\\|/|\-|\[|%|@|])
285 0 0 if $module eq ''
292 0 0 if (scalar @modules > 0)
303 0 0 if $self->format ne 'infile'
316 0 0 if (defined -d $directory)
333 0 0 if (defined -d $directory)
353 0 0 $directorie =~ /xt$/ ? :
355 0 0 if $directorie =~ /xt$/
357 0 0 if $self->is_perlfile($filename) == 0
367 0 0 if not $directorie =~ /xt$/ or $self->format ne 'infile'
389 0 0 if $self->debug
396 0 0 if (scalar @modules > 0)
399 0 0 if ($self->xtest) { }
401 0 0 if $self->meta2
407 0 0 if not $self->meta2
437 0 0 if $self->debug
438 0 0 if $self->debug
439 0 0 if $self->debug
442 0 0 if $module eq ''
445 0 0 if ($self->format ne 'infile')
449 0 0 if ($module =~ /perl/msx) { }
0 0 elsif ($module =~ /\A\Q$distribution_name\E/msx) { }
0 0 elsif ($module =~ /^t::/msx) { }
0 0 elsif ($module =~ /^inc::Module::Install/msx) { }
0 0 elsif ($module =~ /Mojo/msx) { }
0 0 elsif ($module =~ /^Padre/msx) { }
470 0 0 if ($self->experimental)
471 0 0 if ($self->_check_mojo_core($module, $require_type))
472 0 0 unless ($self->quiet)
496 0 0 if $self->debug
498 0 0 if defined $self->{'modules'}{$module}{'prereqs'}
499 0 0 if $self->debug
502 0 0 if $self->format ne 'infile'
514 0 0 if $self->debug
517 0 0 unless defined $self->{'modules'}{$module}{'corelist'}
520 0 0 if ($version eq '!mcpan') { }
0 0 elsif ($version eq 'core') { }
522 0 0 unless $self->{'skip_not_mcpan_stamp'}
527 0 0 if $self->core
528 0 0 if $self->zero
530 0 0 if $self->core
533 0 0 if ($self->{'modules'}{$module}{'corelist'}) { }
535 0 0 if $self->dual_life or $self->core
537 0 0 if $self->dual_life or $self->core
539 0 0 if $self->dual_life or $self->core
548 0 0 if $self->numify
556 0 0 if $self->{'modules'}{$module}{'distribution'}
559 0 0 if $self->debug
576 0 0 unless ($ignore_core->{$module})
578 0 0 if ('Module::CoreList'->first_release($module)) { }
603 0 0 unless (defined $mojo_ver)
605 0 0 if $self->debug
610 0 0 if ($self->verbose)
618 0 0 if ($mojo_ver == $mojo_module_ver) { }
621 0 0 unless $self->{'modules'}{'Mojolicious'}
641 0 0 if $self->debug
648 0 0 if $self->debug
656 0 0 if ($dist_name eq 'perl') { }
0 0 elsif ($module =~ /^inc::/) { }
0 0 elsif ($dist_name ne $module) { }
671 0 0 if $require_type
679 0 0 if $found == 0
684 0 0 if ($cpan_version =~ /\d+e/)
689 0 0 if $self->verbose >= 1
711 0 0 if ($module =~ /$dist/)
714 0 0 if $self->verbose >= 1
718 0 0 if ($self->experimental)
721 0 0 unless defined $self->{'modules'}{$module}{'prereqs'}
725 0 0 unless defined $self->{'modules'}{$module}{'prereqs'}