line |
true |
false |
branch |
72
|
1 |
3 |
unless (-e $file and -r $file)
|
117
|
2 |
1 |
if (my $err = $@)
|
118
|
0 |
2 |
unless ($err =~ /^CANNOT_SELECT_FROM_META\n/)
|
132
|
3 |
1 |
if ($$applied_patches{$meta_patch->{'id'}})
|
163
|
7 |
4 |
if (my $applied_patch = delete $$applied_patches{$plan_patch->id}) { }
|
174
|
1 |
2 |
if (@$plan_orphans)
|
187
|
3 |
2 |
unless defined $options
|
194
|
1 |
4 |
if ($options->{'patches'})
|
202
|
0 |
1 |
unless ($patch)
|
214
|
9 |
4 |
if (my $applied_patch = $$applied_patches{$patch->id}) { }
|
215
|
4 |
5 |
unless ($options->{'force'})
|
225
|
5 |
4 |
if (my $already_applied = $db->select($self->patches_table_name, '*', {'id', $patch->id})->hash) { }
|
233
|
4 |
5 |
if ($options->{'logonly'}) { }
|
240
|
0 |
9 |
if (my $err = $@)
|
260
|
3 |
8 |
if (my $err = $@ || $result->isa('DBIx::Simple::Dummy'))
|
277
|
0 |
3 |
unless $db->dbh->do($sql)
|
281
|
0 |
3 |
if (my $err = $@)
|