Condition Coverage

blib/lib/Mojo/MySQL5/Migrations.pm
Criterion Covered Total %
condition 1 59 1.6


and 3 conditions

line !l l&&!r l&&r condition
63 0 0 0 $version and not $last =~ /^\s*$/s
70 0 0 0 $version and not $last =~ /^\s*$/s
78 0 0 0 $version and not $last =~ /^\s*$/s
92 0 0 0 $target != 0 and not $$up{$target}
106 0 0 0 $_ <= $target and $_ > $active
112 0 0 0 $_ > $target and $_ <= $active
136 0 0 0 $results and my $next = $results->array

or 2 conditions

line l !l condition
9 0 6 $ENV{'MOJO_MIGRATIONS_DEBUG'} || 0
63 0 0 $$migrations{$way}{$version} //= []
70 0 0 $$migrations{$way}{$version} //= []
78 0 0 $$migrations{$way}{$version} //= []

or 3 conditions

line l !l&&r !l&&!r condition
18 0 0 0 $class //= caller
0 0 0 $name // $self->name
36 0 0 0 $sql =~ /^(\s+)/s or $sql =~ /^(\w+)/
0 0 0 $sql =~ /^--.*(?:\n|\z)/p or $sql =~ /^\#.*(?:\n|\z)/p
0 0 0 $sql =~ /^--.*(?:\n|\z)/p or $sql =~ /^\#.*(?:\n|\z)/p or $sql =~ m[^/\*(?:[^\*]|\*[^/])*(?:\*/|\*\z|\z)]p
0 0 0 $sql =~ /^--.*(?:\n|\z)/p or $sql =~ /^\#.*(?:\n|\z)/p or $sql =~ m[^/\*(?:[^\*]|\*[^/])*(?:\*/|\*\z|\z)]p or $sql =~ /^'(?:[^'\\]*|\\(?:.|\n)|'')*(?:'|\z)/p
0 0 0 $sql =~ /^--.*(?:\n|\z)/p or $sql =~ /^\#.*(?:\n|\z)/p or $sql =~ m[^/\*(?:[^\*]|\*[^/])*(?:\*/|\*\z|\z)]p or $sql =~ /^'(?:[^'\\]*|\\(?:.|\n)|'')*(?:'|\z)/p or $sql =~ /^"(?:[^"\\]*|\\(?:.|\n)|"")*(?:"|\z)/p
0 0 0 $sql =~ /^--.*(?:\n|\z)/p or $sql =~ /^\#.*(?:\n|\z)/p or $sql =~ m[^/\*(?:[^\*]|\*[^/])*(?:\*/|\*\z|\z)]p or $sql =~ /^'(?:[^'\\]*|\\(?:.|\n)|'')*(?:'|\z)/p or $sql =~ /^"(?:[^"\\]*|\\(?:.|\n)|"")*(?:"|\z)/p or $sql =~ /^`(?:[^`]*|``)*(?:`|\z)/p
88 0 0 0 $target //= $self->latest
135 0 0 0 $create or $results