Condition Coverage

blib/lib/Mojo/Alien/npm.pm
Criterion Covered Total %
condition 2 12 16.6


and 2 conditions

line l !l condition
9 11 0 ($ENV{'MOJO_NPM_DEBUG'} || $ENV{'MOJO_WEBPACK_DEBUG'}) && 1

or 2 conditions

line l !l condition
43 0 0 $dependencies->{$name}{'version'} //= ''
67 0 0 $info->{'type'} || 'dev'

or 3 conditions

line l !l&&r !l&&!r condition
75 0 0 0 $self->{'basename'} ||= path($cmd[0])->basename
90 1 0 0 symlink $work_dir->dirname->child('node_modules')->make_path, 'node_modules' or warn "Couldn't set up shared node_modules: $!"