Branch Coverage

blib/lib/App/Sqitch/Engine/oracle.pm
Criterion Covered Total %
branch 38 80 47.5


line true false branch
34 3 12 if not $self->target->name =~ /:/ or $self->target->uri->dbname
39 0 12 if $uri->password
78 3 3 unless $_[0]->username
81 2 2 if ($ENV{'ORACLE_HOME'})
82 0 2 $^O eq 'cygwin' ? :
84 1 1 if -f $path and -x $path
86 1 0 if -f $path and -x $path
201 0 1 if $self->_no_table_error
224 0 0 $with_hash ? :
366 0 0 unless $offset
369 0 0 $offset > 0 ? :
389 0 0 unless $offset
392 0 0 $offset > 0 ? :
444 11 1 if $i > 0
451 14 6 $schema ? :
462 0 0 if $self->initialized
467 0 0 if $schema
478 0 0 if (my $d = delete $p{'direction'})
479 0 0 $d =~ /^DESC/i ? :
0 0 $d =~ /^ASC/i ? :
498 0 0 if (my $e = delete $p{'event'})
505 0 0 @wheres ? :
512 0 0 if %p
537 0 0 if ($lim or $off)
539 0 0 if ($lim)
544 0 0 if ($off)
556 0 0 unless my $row = $sth->fetchrow_hashref
580 6 3 unless ($file =~ /[\@?%\$]/)
590 1 2 if (-e $alias)
591 1 0 unless $alias->remove
609 0 2 unless symlink $file->absolute, $alias
632 1 1 $self->sqitch->verbosity > 1 ? :
711 11 3 if ($user or $pass or $host or $port) { }
713 11 0 if ($pass)
717 11 0 if (my $db = $uri->dbname)
720 10 1 if ($host or $port) { }
722 9 1 if ($port)
732 2 1 if (my $db = $uri->dbname)
767 1 2 if (my $err = $?)
777 1 1 wantarray ? :