Condition Coverage

blib/lib/App/Sqitch/Engine/exasol.pm
Criterion Covered Total %
condition 10 29 34.4


and 3 conditions

line !l l&&!r l&&r condition
302 1 0 0 $self->_no_table_error and not $self->initialized
465 2 0 1 $DBI::errstr && $DBI::errstr =~ /object \w+ not found/m
469 1 0 1 $DBI::errstr && $DBI::errstr =~ /object \w+ not found/m

or 2 conditions

line l !l condition
222 0 0 $self->dbh->selectrow_hashref(qq[\n SELECT id, name, project, note, "timestamp", planner_name, planner_email,\n tags, script_hash\n FROM (\n SELECT 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.committed_at, 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 ) changes\n ORDER BY changes.committed_at $dir\n LIMIT 1 $offset_expr\n ], undef, $self->plan->project, $change_id) || (return undef)
451 0 0 $res || ' '
456 0 0 $res || ' '
461 0 0 $res || ' '

or 3 conditions

line l !l&&r !l&&!r condition
40 0 0 5 not $self->target->name =~ /:/ or $self->target->uri->dbname
294 0 0 0 $project || $self->plan->project
337 1 1 0 $lim || $self->_limit_default
514 1 0 2 $? || grep({/^Error:/m;} @out)