Branch Coverage

blib/lib/Mojolicious/Command/browserify.pm
Criterion Covered Total %
branch 6 34 17.6


line true false branch
97 0 0 if $processor->environment eq 'production'
99 0 0 unless chdir dirname($$self{'in'})
104 0 0 if ($$self{'out'}) { }
125 9 0 if $exit_value
139 0 0 if $action eq 'help'
140 0 0 unless $action =~ /^(bundle|install|version)$/
167 0 54 unless pipe my $CHILD_READ, my $CHILD_WRITE
170 45 9 if ($pid)
192 0 20 if /"version"\D+([\d\.]+)/
193 0 16 if /([\d\.]+)/
202 0 0 if ($arg =~ /^--?w/)
203 0 0 if ($arg =~ /^--?o/)
204 0 0 if (-r $arg)
208 0 0 unless $$self{'in'}
209 0 0 if $$self{'watch'} and not $$self{'out'}
224 0 0 unless my $mtime = (stat $file)[9]
226 0 0 unless $$cache{$file} == $mtime