Branch Coverage

blib/lib/Dist/Zilla/Plugin/Web/Bundle.pm
Criterion Covered Total %
branch 20 40 50.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 7 if $entry =~ /\.css$/
141 7 0 $is_js ? :
146 1 3 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 0 7 if (ref $entry eq 'HASH' and $$entry{'text'}) { }
3 4 elsif ($entry =~ /^\+(.+)/) { }
4 0 elsif (not $entry =~ m[/] || $entry =~ /\.js$/ || $entry =~ /\.css$/) { }
186 0 3 unless $bundleFile
208 4 68 if ($file->name eq $file_name)
226 4 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