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
195 0 1 if $self->_no_table_error
218 0 0 $with_hash ? :
360 0 0 unless $offset
363 0 0 $offset > 0 ? :
383 0 0 unless $offset
386 0 0 $offset > 0 ? :
438 11 1 if $i > 0
445 14 6 $schema ? :
456 0 0 if $self->initialized
461 0 0 if $schema
472 0 0 if (my $d = delete $p{'direction'})
473 0 0 $d =~ /^DESC/i ? :
0 0 $d =~ /^ASC/i ? :
492 0 0 if (my $e = delete $p{'event'})
499 0 0 @wheres ? :
506 0 0 if %p
531 0 0 if ($lim or $off)
533 0 0 if ($lim)
538 0 0 if ($off)
550 0 0 unless my $row = $sth->fetchrow_hashref
574 6 3 unless ($file =~ /[\@?%\$]/)
584 1 2 if (-e $alias)
585 1 0 unless $alias->remove
603 0 2 unless symlink $file->absolute, $alias
626 1 1 $self->sqitch->verbosity > 1 ? :
705 11 3 if ($user or $pass or $host or $port) { }
707 11 0 if ($pass)
711 11 0 if (my $db = $uri->dbname)
714 10 1 if ($host or $port) { }
716 9 1 if ($port)
726 2 1 if (my $db = $uri->dbname)
761 1 2 if (my $err = $?)
771 1 1 wantarray ? :