Branch Coverage

blib/lib/Mojolicious/Plugin/Browserify/Processor.pm
Criterion Covered Total %
branch 1 40 2.5


line true false branch
93 0 0 -f $_[0]->executable ? :
129 0 0 unless -d $cache_dir
136 0 0 if -e $modules[-1] and (stat _)[9] >= (stat $$map{$module})[9]
141 0 0 unless (length $err)
145 0 0 if (length $err) { }
0 0 elsif (length $$text) { }
150 0 0 if $assetpack->minify
162 0 0 if $local and -e $local
174 0 0 if $$uniq{$module}
175 0 0 $module =~ /^\w/ ? :
188 0 0 if $$uniq{"$module$ext"}
189 0 0 unless -f $file
203 0 0 if -e ($p = 'File::Spec'->catfile($prefix, $module, 'package.json'))
204 0 0 if -e ($p = 'File::Spec'->catfile($prefix, $module, 'index.js'))
205 0 0 if -e ($p = 'File::Spec'->catfile($prefix, "$module.js"))
216 0 0 if ($uglifyjs) { }
222 0 0 unless $$text
225 0 0 if (length $err)
238 0 12 if -d $p
249 0 0 if $path and -e $path