line |
true |
false |
branch |
15
|
19 |
0 |
if (my $self = $class->driver_load($args{'driver'}, %args)) { } |
29
|
0 |
20 |
if ref $class |
31
|
1 |
19 |
unless defined $args{'dbh'} |
34
|
19 |
0 |
unless $args{'driver'} |
55
|
11 |
8 |
if ($@) { } |
57
|
11 |
0 |
if ($err =~ /Can\'t locate/) { } |
108
|
1 |
0 |
if ($self->table_exists('migration_schema_log')) { } |
109
|
1 |
0 |
if (my $sth = $dbh->prepare_cached("\n SELECT\n schema_name, event_time, old_version, new_version\n FROM\n migration_schema_log\n WHERE\n schema_name = ?\n ORDER BY\n event_time, new_version\n ")) { } |
119
|
1 |
0 |
if ($sth->execute($schema)) |
120
|
1 |
0 |
if (my $result = $sth->fetchall_arrayref({})) { } |
145
|
5 |
1 |
if ($self->table_exists('migration_schema_version')) { } |
146
|
5 |
0 |
if (my $sth = $dbh->prepare_cached('SELECT * FROM migration_schema_version')) { } |
149
|
5 |
0 |
if ($sth->execute) { } |
150
|
5 |
0 |
if (my $result = $sth->fetchall_hashref('name')) { } |
186
|
2 |
1 |
if ($sth->execute($schema)) { } |
191
|
2 |
0 |
if ($sth->execute($schema)) { } |
211
|
28 |
15 |
if ($self->table_exists('migration_schema_version')) { } |
217
|
28 |
0 |
if ($sth->execute($schema)) { } |
218
|
24 |
4 |
if (my $row = $sth->fetchrow_arrayref) { } |
224
|
1 |
27 |
if ($dbh->transaction_error) { } |
249
|
50 |
0 |
if ($sth->execute) { } |
250
|
34 |
16 |
if ($sth->fetchrow_arrayref) { } |
256
|
10 |
40 |
if ($dbh->transaction_error) { } |