line |
true |
false |
branch |
31
|
0 |
0 |
unless (defined $COMMAND) |
36
|
0 |
0 |
if ($COMMAND =~ /^(help|--help|-h)$/u) { } |
|
0 |
0 |
elsif ($COMMAND =~ /^(man|--man|-m)$/u) { } |
|
0 |
0 |
elsif ($COMMAND =~ /^(version|--version|-v)$/u) { } |
50
|
0 |
0 |
if (defined $OPT{'config_dir'}) |
54
|
0 |
0 |
if (defined $OPT{'pkg_dir'}) |
58
|
0 |
0 |
if (defined $OPT{'repo_dir'}) |
62
|
0 |
0 |
if ($COMMAND eq 'init') |
69
|
0 |
0 |
unless (path($OS::Package::CLI::OSPKG_CONFIG->dir->base)->exists) |
74
|
0 |
0 |
unless (defined $APP) |
83
|
0 |
0 |
if (defined $OPT{'build_id'}) |
91
|
0 |
0 |
if ($COMMAND eq 'download') { } |
|
0 |
0 |
elsif ($COMMAND eq 'extract') { } |
|
0 |
0 |
elsif ($COMMAND eq 'build') { } |
|
0 |
0 |
elsif ($COMMAND eq 'prune') { } |
|
0 |
0 |
elsif ($COMMAND eq 'clean') { } |
100
|
0 |
0 |
if (defined $pkg->artifact) |
102
|
0 |
0 |
unless $pkg->artifact->download |
105
|
0 |
0 |
unless $pkg->artifact->extract |
109
|
0 |
0 |
unless $pkg->build |
111
|
0 |
0 |
unless $pkg->prune |
113
|
0 |
0 |
unless $pkg->create |