Condition Coverage

blib/lib/App/Sqitch/Engine/oracle.pm
Criterion Covered Total %
condition 21 60 35.0


and 3 conditions

line !l l&&!r l&&r condition
687 2 1 1 $DBI::err && $DBI::err == 942
691 1 1 1 $DBI::err && $DBI::err == 904

or 2 conditions

line l !l condition
186 0 0 $offset // 0
392 0 0 $self->dbh->selectrow_hashref("\n SELECT id, name, project, note, timestamp, planner_name, planner_email, tags, script_hash\n FROM (\n SELECT id, name, project, note, timestamp, planner_name, planner_email, tags, script_hash, rownum AS rnum\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.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 )\n ) WHERE rnum = ?\n ", undef, $self->plan->project, $change_id, abs $offset) || (return undef)
488 0 0 delete $p{$spec->[0]} // (next)
536 0 0 $off //= 0
704 11 0 $user // ""
713 10 0 $host || ''

or 3 conditions

line l !l&&r !l&&!r condition
34 0 3 12 not $self->target->name =~ /:/ or $self->target->uri->dbname
44 3 0 3 $ENV{'TWO_TASK'} || undef || $ENV{'ORACLE_SID'} || $self->username
81 1 0 1 $ENV{'ORACLE_HOME'} || ()
186 0 0 0 $project || $self->plan->project
222 0 0 0 $project // $self->plan->project
263 0 0 0 $self->registry || $self->username
276 0 0 0 $tags ||= $self->_log_tags_param($change)
277 0 0 0 $requires ||= $self->_log_requires_param($change)
278 0 0 0 $conflicts ||= $self->_log_conflicts_param($change)
533 0 0 0 $lim or $off
703 11 0 3 $user or $pass
11 0 3 $user or $pass or $host
0 0 3 $user or $pass or $host or $port
712 10 0 1 $host or $port