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 7 15 1 $target != 0 and not $up->{$target}

or 2 conditions

line l !l condition
9 0 6 $ENV{'MOJO_MIGRATIONS_DEBUG'} || 0
31 12 2 $sql // ''
117 36 21 $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 12 10 1 $target //= $latest
117 54 3 6 $next or not $create
120 1 0 5 not $results or $results->sth->err