Branch Coverage

blib/lib/Nephia/Setup.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
27 0 3 $opts{'meta_tmpl'} ? :
61 2 2 $nest_level > 0 ? :
66 4 2 if (ref $v eq 'ARRAY') { }
2 0 elsif (ref $v eq 'HASH') { }
90 0 33 ref $$self{'approot'} eq 'ARRAY' ? :
100 4 12 wantarray ? :
119 6 1 unless (-d $_path)
121 0 6 unless mkdir $_path
134 0 5 if (-e $path)
138 0 5 unless open my $fh, '>', $path
148 0 3 if $@
191 21 12 if ($$self{'nest'})
207 0 3 unless $plugin_class->can('new')
219 1 5 $plugin_name =~ /^Nephia::Setup::Plugin::/ ? :
231 2 0 unless (-e $path)
235 0 2 unless $fetcher->fetch('to', \$content)
257 1 0 unless (-d $path)