lib/Mojolicious/Command/migration.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 27 | 7.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
157 | 0 | 0 | 0 | $self->params->{'to-version'} and $self->params->{'to-version'} > $to_version |
234 | 0 | 0 | 0 | $self->params->{'to-version'} and $self->params->{'to-version'} > $last_version |
line | l | !l | condition |
---|---|---|---|
4 | 0 | 1 | $ENV{'MOJO_MIGRATION_TMP'} ||= "tmp" |
5 | 0 | 1 | $ENV{'MOJO_MIGRATION_SHARE'} ||= "share" |
432 | 0 | 0 | shift() || (return) |
433 | 0 | 0 | shift() || (return) |
538 | 0 | 0 | $p->{'no_comments'} || 0 |
539 | 0 | 0 | $p->{'from'} || 'DBI' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
88 | 0 | 0 | 0 | $self->params->{'force'} or $self->db_is_empty |
240 | 0 | 0 | 0 | $self->params->{'to-version'} || $self->deployed->{'version'} - 1 |
574 | 0 | 0 | 0 | $p->{'filename'} || "$$paths{$p->db_->{'type'}}/$p->{'from'}-$p->{'to'}/001_auto.sql" |