Branch Coverage

blib/lib/Mojolicious/Plugin/Browserify/Processor.pm
Criterion Covered Total %
branch 1 42 2.3


line true false branch
93 0 0 -f $_[0]->executable ? :
129 0 0 unless -d $cache_dir
138 0 0 if -e $modules[-1] and (stat _)[9] >= (stat $$map{$module})[9]
143 0 0 unless (length $err)
149 0 0 if (length $err) { }
0 0 elsif (length $$text) { }
156 0 0 if $assetpack->minify
168 0 0 if $local and -e $local
180 0 0 if $$uniq{$module}
181 0 0 $module =~ /^\w/ ? :
193 0 0 unless ('File::Spec'->file_name_is_absolute($base))
199 0 0 if $$uniq{"$module$ext"}
200 0 0 unless -f $file
214 0 0 if -e ($p = 'File::Spec'->catfile($prefix, $module, 'package.json'))
215 0 0 if -e ($p = 'File::Spec'->catfile($prefix, $module, 'index.js'))
216 0 0 if -e ($p = 'File::Spec'->catfile($prefix, "$module.js"))
227 0 0 if ($uglifyjs) { }
233 0 0 unless $$text
236 0 0 if (length $err)
249 0 16 if -d $p
260 0 0 if $path and -e $path