Branch Coverage

blib/lib/Shipwright/Script.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
40 1 7 unless @ARGV
42 2 6 if ($ARGV[0] =~ /--?h(elp)?/i) { }
0 6 elsif ($ARGV[0] =~ /^(-v|--version|version)$/) { }
54 3 3 unless (ref $cmd eq 'Shipwright::Script::Help')
55 0 3 if not $cmd->repository and $ENV{'SHIPWRIGHT_SHIPYARD'}
57 0 3 if not $cmd->repository and $ENV{'SHIPWRIGHT_REPOSITORY'}
59 2 1 if ($cmd->repository) { }
72 0 0 $action eq 'create' ? :
0 0 unless $backend->check_repository('action', $action, $action eq 'create' ? ('force', $cmd->force) : ())