Condition Coverage

blib/lib/Mojo/SQLite/Migrations.pm
Criterion Covered Total %
condition 20 24 83.3


and 3 conditions

line !l l&&!r l&&r condition
50 8 16 1 $target != 0 and not $up->{$target}

or 2 conditions

line l !l condition
9 0 6 $ENV{'MOJO_MIGRATIONS_DEBUG'} || 0
31 13 2 $sql // ""
117 39 23 $next->[0] || 0

or 3 conditions

line l !l&&r !l&&!r condition
20 3 5 0 $class //= caller
1 7 0 $name // $self->name
48 13 11 1 $target //= $latest
117 50 12 7 $next or not $create
120 1 0 6 not $results or $results->sth->err