Branch Coverage

blib/lib/Module/Package/Plugin.pm
Criterion Covered Total %
branch 0 100 0.0


line true false branch
50 0 0 if $class eq 'Module::Package::Plugin'
80 0 0 unless $self->options->{'deps_list'}
82 0 0 if (-e 'Makefile.PL')
84 0 0 if ($text =~ /.*\n__(?:DATA|END)__\r?\n(.*)/s)
88 0 0 if (-e $deps_list_file and -s $deps_list_file) { }
0 0 elsif ($data) { }
95 0 0 if $@
101 0 0 unless $self->options->{'deps_list'}
103 0 0 if (-e $deps_list_file)
105 0 0 if $text
106 0 0 if ($text ne $old_text)
112 0 0 if (-e 'Makefile.PL' and io('Makefile.PL')->all =~ /^__(?:DATA|END)__$/m) { }
0 0 elsif ($text) { }
118 0 0 unless $perl =~ s/(.*\n__(?:DATA|END)__\r?\n).*/$1/s
119 0 0 if (-e $deps_list_file)
123 0 0 if $text
124 0 0 if ($perl ne $old_perl)
127 0 0 if (-e 'Makefile')
158 0 0 if ($skip{"Module::Install::$module"})
164 0 0 unless -f $_ and $_ =~ /\.pm$/
167 0 0 if -e "$base/lib/$module.pm"
169 0 0 if $skip{$module}
171 0 0 if $module =~ /^\Q$prefix\E/
175 0 0 if (grep /^Module::Install::TestBase$/, @inc)
178 0 0 unless ($Module::Package::plugin_version)
187 0 0 if ($version) { }
194 0 0 if $text
204 0 0 unless $file =~ s/^(.*)::[^A-Z].*$/$1/
208 0 0 unless $file = $INC{$file}
218 0 0 unless $self->options->{'manifest_skip'}
230 0 0 unless /^Module::Install::/
233 0 0 if ${"${_}::AUTHOR_ONLY";}
237 0 0 if (-e 'pkg/manifest.skip')
248 0 0 unless -f $_ and $_ =~ /\.(pm|t)$/
252 0 0 if (io($file)->all =~ /\bTest::Base\b/)
263 0 0 unless -f $_ and $_ =~ /\.t$/
264 0 0 unless io($_)->all =~ /\buse TestML\b/
267 0 0 if ($found or -e 't/testml')
274 0 0 if (-e 't/common.yaml')
283 0 0 unless -f $_ and $_ =~ /\.pm$/
284 0 0 if $File::Find::name eq 'lib/Gloom.pm'
285 0 0 if $File::Find::name eq 'lib/Module/Install/Gloom.pm'
286 0 0 unless io($_)->getline =~ /\bGloom\b/
290 0 0 unless $file =~ s[^lib/(.*)\.pm$][$1]
312 0 0 unless $$self{'post_all_from'}
321 0 0 unless $$self{'post_WriteAll'}
333 0 0 if (-e 'inc/.author' and not -e $target_file)
334 0 0 unless my $source_file = $INC{'Module/Package.pm'}
343 0 0 unless $version == $VERSION and $version == $Module::Package::VERSION and $version == $inc::Module::Package::VERSION
379 0 0 unless defined ${"Module::Install::${_}::AUTHOR_ONLY";}