Branch Coverage

blib/lib/App/makefilepl2cpanfile.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
107 3 1 exists $args{'with_develop'} ? :
112 0 4 unless -r $makefile
117 3 1 if ($content =~ /MIN_PERL_VERSION\s*=>\s*['"]?([\d._]+)['"]?/)
151 1 3 if ($existing =~ /on\s+["']develop["']\s*=>\s*sub\s*\{(.*?)\};/s)
158 3 1 if ($with_dev)
169 0 3 if (-r $cfg_file)
170 0 0 unless my $yaml = "YAML::Tiny"->read($cfg_file)
172 0 0 if $y->{'develop'}
216 3 1 if $min_perl
218 4 0 if (my $rt = $deps->{'runtime'})
221 1 8 if defined $rt->{$m} and $rt->{$m} ne "" and $rt->{$m} != 0
230 9 7 unless my $h = $deps->{$phase}
231 0 7 unless %$h
236 2 26 if defined $h->{$m} and $h->{$m} ne "" and $h->{$m} != 0
243 4 0 if @blocks