Branch Coverage

lib/UR/DataSource/Oracle.pm
Criterion Covered Total %
branch 13 106 12.2


line true false branch
58 0 0 unless defined $dbh
80 0 0 if (defined $_) { }
96 0 0 if $table_name =~ /\$/
122 0 0 if ($dbh->err)
139 0 0 if ($table_name)
146 0 0 unless $rows
179 0 0 unless $dbh
182 0 0 unless $sth
213 0 0 unless (defined $action)
220 0 0 unless ($sth)
225 0 0 unless $sth->execute($module, $action)
235 0 0 unless ($dbh)
239 0 0 unless ($dbh)
251 0 0 unless $sth
253 0 0 unless $sth->execute
269 3 0 unless (defined $urtype)
279 0 0 unless defined $column_objects->[$n]
280 0 0 if ($column_objects->[$n]->data_type eq 'BLOB')
304 0 0 if ($version < '11')
312 0 0 if (ref $CatVal eq 'HASH')
318 0 0 if (defined $CatVal and $CatVal eq '%' and !defined($SchVal) || $SchVal eq '' and !defined($TblVal) || $TblVal eq '') { }
0 0 elsif (defined $SchVal and $SchVal eq '%' and !defined($CatVal) || $CatVal eq '' and !defined($TblVal) || $TblVal eq '') { }
0 0 elsif (defined $TypVal and $TypVal eq '%' and !defined($CatVal) || $CatVal eq '' and !defined($SchVal) || $SchVal eq '' and !defined($TblVal) || $TblVal eq '') { }
385 0 0 if (defined $SchVal)
388 0 0 if (defined $TblVal)
391 0 0 if (defined $TypVal)
397 0 0 unless ($table_type =~ /^'.*'$/)
404 0 0 if @Where
407 0 0 unless my $sth = $dbh->prepare($SQL)
408 0 0 unless $sth->execute
416 0 0 if ($version < '11')
421 0 0 ref $_[0] eq 'HASH' ? :
425 0 0 if (not defined $v or $v->[0] >= 8)
551 0 0 if ($v)
557 0 0 unless my $sth = $dbh->prepare($SQL)
558 0 0 unless $sth->execute(@BindVals)
566 0 0 if ($version < '11')
572 0 0 if (ref $catalog eq 'HASH')
599 0 0 unless my $sth = $dbh->prepare($SQL)
600 0 0 unless $sth->execute($schema, $table)
610 0 0 if ($version < '11')
615 0 0 ref $_[0] eq 'HASH' ? :
658 0 0 if ($v)
664 0 0 unless my $sth = $dbh->prepare($SQL)
665 0 0 unless $sth->execute(@BindVals)
673 0 0 unless (exists $self->{'__ora_major_server_version'})
687 5 18 if ($left_type->isa($right_type) or $right_type->isa($left_type))
694 0 11 unless ($left_type->isa('UR::Value::Text') or $right_type->isa('UR::Value::Text'))
705 2 16 if ($sql_clause eq 'where')
710 7 9 $left_type->isa('UR::Value::Text') ? :
714 12 4 if ($data_type->isa('UR::Value::Number')) { }
2 2 elsif ($data_type->isa('UR::Value::Timestamp')) { }
2 0 elsif ($data_type->isa('UR::Value::DateTime')) { }