Condition Coverage

blib/lib/DBUnit.pm
Criterion Covered Total %
condition 6 137 4.3


and 3 conditions

line !l l&&!r l&&r condition
270 0 0 0 $dbms eq 'oracle' and not $pl_sql =~ /begin/i
519 0 0 0 $result and $expected_width
639 0 0 0 $table && !ref($table)
653 0 0 0 $result and $columns
758 0 0 0 $index_info and @$index_info
765 0 0 0 $index_info and @$index_info
776 0 0 0 $index && @args
817 0 0 0 $index_info and @$index_info
838 0 0 0 $index_info and @$index_info
862 0 0 0 $index_info and @$index_info
1039 0 0 0 $mode and lc $mode ne lc $$routine_arg{'mode'}
1046 0 0 0 $name and lc $name ne lc $$routine_arg{'name'}
1050 0 0 0 $type and not $self->_check_type_family(lc $type, lc $$routine_arg{'type'})
1218 0 0 0 lc $type eq 'procedure' and $$routines_info{'return_type'}
1308 0 0 0 $pk_columns and @$pk_columns
1439 0 0 0 ref $fields eq 'HASH' and not scalar %$fields
1466 0 0 0 $pk_columns && @$pk_columns
1535 0 0 0 $lobs and keys %$lobs
1573 0 0 0 $lob_values and %$lob_values
1610 0 0 0 $lob_values and %$lob_values
1612 0 0 0 $pk_column && @$pk_column
1635 0 0 0 ref $fields eq 'HASH' and not scalar %$fields
1675 0 0 0 $lob_values and %$lob_values

or 2 conditions

line l !l condition
393 0 0 $connection->columns($table, $schema) || []
551 0 0 $$column_def{'type_info'} || {}
693 0 0 $connection->foreign_key_info($table, $referenced_table) || []
937 0 0 $$trigger_info{'table_name'} || ''
945 0 0 $$trigger_info{'trigger_func'} || ''
1355 0 0 $self->primary_key_definition_cache->{$table_name} ||= [$connection->primary_key_columns($table_name)]
1449 0 0 $self->primary_key_definition_cache->{$table_name} ||= [$connection->primary_key_columns($table_name)]
1465 0 0 $self->primary_key_definition_cache->{$table_name} ||= [$connection->primary_key_columns($table_name)]
1484 1 2 $$result{$$dataset[$i]} ||= {}
1491 0 0 $self->primary_key_definition_cache->{$table_name} ||= [$connection->primary_key_columns($table_name)]
1492 0 0 $$result{$table_name} ||= {}
1618 0 0 $exp_lob_content || ''
0 0 $lob_content || ''
0 0 $exp_lob_content || ''
0 0 $lob_content || ''
1643 0 0 $self->primary_key_definition_cache->{$table_name} ||= [$connection->primary_key_columns($table_name)]
1682 0 0 join(',', @columns) || '*'
1708 4 0 $$dataset{$k} || ''
3 1 $$exp_dataset{$k} || ''
1753 0 0 $self->primary_key_definition_cache->{$table_name} ||= [$connection->primary_key_columns($table_name)]
1754 0 0 join(',', @$columns) || '*'
1808 0 4 $element->children_result || {}

or 3 conditions

line l !l&&r !l&&!r condition
407 0 0 0 @missing or @additional
495 0 0 0 lc $tested_type eq lc $db_type || $tested_type =~ /\(/ && $tested_type =~ /$db_type/
523 0 0 0 $db_type || $dbi_type . ($dbi_type =~ /CHAR|NUM|FLOAT/ && $width > 0 ? "($width)" : '')
697 0 0 0 $$row[11] || $$row[2]
1201 0 0 0 $object =~ /(procedure)\s+`*(\w+)`*/i or $object =~ /(function)\s+`*(\w+)`*/i
1447 0 0 0 %values or %lob_values
1556 0 0 0 not defined $rows_no or $$expected_result{$table_name} ne $rows_no
1618 0 0 0 length($exp_lob_content || '') ne length($lob_content || '') or ($exp_lob_content || '') ne ($lob_content || '')