Branch Coverage

blib/lib/Dist/Zilla/Plugin/Web/Bundle.pm
Criterion Covered Total %
branch 22 40 55.0


line true false branch
105 0 1 unless -f $self->filename
115 1 0 unless ($self->lazy)
126 1 6 if ref $componentInfo eq 'ARRAY'
139 0 13 if $entry =~ /\.css$/
141 13 0 $is_js ? :
146 1 5 if ($minify eq 'yui')
148 1 0 $is_js ? :
154 0 0 unless $success
164 3 4 if ($saveAs)
167 0 3 if $already_has_file
178 1 12 if (ref $entry eq 'HASH' and $$entry{'text'}) { }
4 8 elsif ($entry =~ /^\+(.+)/) { }
6 2 elsif (not $entry =~ m[/] || $entry =~ /\.js$/ || $entry =~ /\.css$/) { }
186 0 4 unless $bundleFile
208 8 115 if ($file->name eq $file_name)
226 8 0 if $found
229 0 0 if -e $file_name
232 0 0 if ($file_name =~ m[^node_modules/(.*)])
235 0 0 if -e $npm_file_name
254 0 0 if $child_exit_status