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
304 1 0 0 $self->_no_table_error and not $self->initialized
467 2 0 1 $DBI::errstr && $DBI::errstr =~ /object \w+ not found/m
471 1 0 1 $DBI::errstr && $DBI::errstr =~ /object \w+ not found/m

or 2 conditions

line l !l condition
224 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)
453 0 0 $res || ' '
458 0 0 $res || ' '
463 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
296 0 0 0 $project || $self->plan->project
339 1 1 0 $lim || $self->_limit_default
516 1 0 2 $? || grep({/^Error:/m;} @out)