| line |
true |
false |
branch |
|
85
|
3 |
263 |
if $class eq __PACKAGE__
|
|
99
|
9 |
58 |
unless (eval "require $pkg; 1")
|
|
110
|
1 |
38 |
unless my $cmd = delete $p->{'command'}
|
|
111
|
3 |
35 |
unless my $pkg = $class->class_for($p->{'sqitch'}, $cmd)
|
|
151
|
33 |
18 |
unless $args and @{$args;}
|
|
155
|
2 |
16 |
unless &Getopt::Long::GetOptionsFromArray($args, \%opts, $class->options)
|
|
160
|
8 |
2 |
unless (my $nk = $k) =~ s/-/_/g
|
|
197
|
1 |
1 |
if ref $self eq __PACKAGE__
|
|
231
|
1 |
3 |
if $p{'target'}
|
|
239
|
130 |
49 |
unless $p{'no_changes'}
|
|
240
|
46 |
133 |
if ($p{'target'})
|
|
248
|
49 |
145 |
if (not $p{'no_changes'} and $target and -e $target->plan_file and $target->plan->contains($arg)) { }
|
|
|
39 |
106 |
elsif ($config->get('key', "target.$arg.uri") or 'URI'->new($arg)->isa('URI::db')) { }
|
|
|
21 |
85 |
elsif ($engines{$arg}) { }
|
|
|
7 |
78 |
elsif (-e $arg) { }
|
|
254
|
38 |
0 |
unless $seen{$target->name}++
|
|
259
|
21 |
0 |
unless $seen{$target->name}++
|
|
263
|
7 |
0 |
unless %target_for
|
|
265
|
6 |
1 |
if ($target_for{$arg}) { }
|
|
268
|
6 |
0 |
unless $seen{$target->name}++
|
|
280
|
59 |
7 |
unless $_
|
|
|
124 |
54 |
unless $p{'names'}
|
|
283
|
21 |
157 |
if (my(@unknown) = @{$rec{'unknown'};})
|
|
294
|
12 |
145 |
if ($p{'all'}) { }
|
|
|
65 |
80 |
elsif (not @targets) { }
|
|
296
|
4 |
8 |
if @targets
|
|
305
|
4 |
61 |
$self->sqitch->config->get('key', $key, 'as', 'bool') ? :
|
|
307
|
1 |
60 |
if $deftarget_err
|
|
317
|
120 |
102 |
if make_path($dir, {"error", \my $err})
|
|
320
|
220 |
2 |
unless my $diag = shift @{$err;}
|
|
323
|
1 |
1 |
if $path
|