| line |
true |
false |
branch |
|
49
|
0 |
1 |
if ($self->_is_applied_migrations_table_exists) { } |
|
55
|
0 |
1 |
unless $self->dbh->do($sql) |
|
71
|
0 |
1 |
unless ($self->_is_applied_migrations_table_exists) |
|
85
|
0 |
2 |
if (not $num) { } |
|
|
2 |
0 |
elsif (not $self->_is_migration_applied($_)) { } |
|
98
|
0 |
1 |
if ($rows < 0) |
|
99
|
0 |
0 |
if say colored('Could not run migrations', 'red') |
|
112
|
0 |
2 |
unless ($self->_is_applied_migrations_table_exists) |
|
126
|
1 |
3 |
if (not $num) { } |
|
|
2 |
1 |
elsif ($self->_is_migration_applied($_)) { } |
|
138
|
0 |
2 |
if ($rows < 0) |
|
159
|
3 |
1 |
@row ? : |
|
180
|
3 |
9 |
if (-d $_) |
|
195
|
0 |
3 |
unless opendir my $dh, $dir |
|
208
|
0 |
5 |
unless my $sth = $self->dbh->prepare($sql) |
|
216
|
0 |
5 |
if ($rv < 0) |
|
231
|
0 |
4 |
if ($rows < 0) |
|
236
|
2 |
2 |
if ($type eq 'up') { } |
|
250
|
0 |
2 |
unless my $sth = $self->dbh->prepare($sql) |
|
264
|
0 |
2 |
unless my $sth = $self->dbh->prepare($sql) |