Condition Coverage

blib/lib/App/Sqitch/Engine/firebird.pm
Criterion Covered Total %
condition 11 34 32.3


and 3 conditions

line !l l&&!r l&&r condition
290 1 2 3 $DBI::errstr && $DBI::errstr =~ /^-Table unknown|No such file or directory/m
294 1 2 1 $DBI::errstr && $DBI::errstr =~ /^-Column unknown/m
422 1 0 1 $self->_no_table_error and not $self->initialized
469 0 0 0 $regex =~ /^\^/ and $regex =~ /\$$/
905 29 0 1 -f $path and -x $path

or 2 conditions

line l !l condition
454 0 0 delete $p{$spec->[0]} // (next)
620 0 0 $self->dbh->selectrow_hashref(qq[\n SELECT FIRST 1 $offset_expr\n c.change_id AS "id", c.change AS name, c.project, c.note,\n $tscol AS "timestamp", c.planner_name, c.planner_email,\n $tagcol AS tags, c.script_hash\n FROM changes c\n LEFT JOIN tags t ON c.change_id = t.change_id\n WHERE c.project = ?\n AND c.committed_at $op (\n SELECT committed_at FROM changes WHERE change_id = ?\n )\n GROUP BY c.change_id, c.change, c.project, c.note, c.planned_at,\n c.planner_name, c.planner_email, c.committed_at, c.script_hash\n ORDER BY c.committed_at $dir\n ], undef, $self->plan->project, $change_id) || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
369 0 0 0 $project || $self->plan->project
392 0 0 0 $project // $self->plan->project
475 0 0 0 $regex =~ /^\^/ or $regex =~ /\$$/
506 0 0 0 exists $p{'limit'} or exists $p{'offset'}
666 1 0 0 $p{'project'} || $self->plan->project