Condition Coverage

blib/lib/DBI/BabyConnect.pm
Criterion Covered Total %
condition 0 310 0.0


and 3 conditions

line !l l&&!r l&&r condition
373 0 0 0 not $driver and $_ =~ /$drv/i
375 0 0 0 not $driver and $_ =~ /ODBC/i
481 0 0 0 $ENABLE_CACHING and ${$CACHED_CONN{$$ . $conf};}{'class'} = $self
498 0 0 0 defined $deb and $deb ne ''
534 0 0 0 defined $errlog and $errlog ne ''
662 0 0 0 $wanthash and (%$bean_flags) = map({$_, $$t_bean_flags{$_};} keys %$t_bean_flags)
1233 0 0 0 length $sql > 1 and $sql =~ /drop/i
1295 0 0 0 length $sql > 1 and $sql =~ /drop/i
1357 0 0 0 defined $s && $s ne ''
1563 0 0 0 $xprm{'ON_FAILED_DBIEXECUTE_ROLLBACK_AND_EXIT'} and $PERSISTENT_OBJECT_ENABLED
1621 0 0 0 $class->autorollback and not $class->autocommit
1656 0 0 0 @_ && ref $_[0] eq 'ARRAY' && ref ${$_[0];}[0] eq 'HASH'
1657 0 0 0 @_ && ref $_[0] eq 'HASH'
1675 0 0 0 ref $o_bnd eq 'ARRAY' and ref $$o_bnd[0] eq 'HASH'
1737 0 0 0 $class->autorollback and not $class->autocommit
1792 0 0 0 $$El2Ty_href{$_} =~ /STRING/i and not $$El2Ty_href{$_} =~ /STRING\(\s*\^\s*\)/i
1794 0 0 0 $$CoL_href{$_} eq '' && $xprm{'DBSETTING_FORCE_SINGLESPACE_FOR_EMPTY_STRING'}
1843 0 0 0 ref $o_bnd eq 'ARRAY' and ref $$o_bnd[0] eq 'HASH'
1952 0 0 0 $$El2Ty_href{$_} =~ /STRING/i and not $$El2Ty_href{$_} =~ /STRING\(\s*\^\s*\)/i
1954 0 0 0 $$CoL_href{$_} eq '' && $xprm{'DBSETTING_FORCE_SINGLESPACE_FOR_EMPTY_STRING'}
2012 0 0 0 ref $o_bnd eq 'ARRAY' and ref $$o_bnd[0] eq 'HASH'
2114 0 0 0 defined $rr_do && $rr_do eq '0E0'
2122 0 0 0 $class->raiseerror == 0 and not defined $rr
0 0 0 $class->raiseerror == 0 and not defined $rr and $q =~ /^\s*drop\s+/i
2158 0 0 0 $xprm{'ON_FAILED_DBIEXECUTE_ROLLBACK_AND_EXIT'} and $PERSISTENT_OBJECT_ENABLED
2196 0 0 0 ref $o eq 'ARRAY' and ref $$o[0] eq 'HASH'
2456 0 0 0 $list and $q =~ /SELECT\s+\*\s+/i
2561 0 0 0 @_ && ref $_[0] eq 'ARRAY'
2563 0 0 0 @_ && ref $_[0] eq 'ARRAY' && defined ${$_[0];}[0]
2599 0 0 0 not $recalled and $$extras{'INCLUDE_HEADER'} || !defined($$extras{'INCLUDE_HEADER'})
2620 0 0 0 $$extras{'MAX_ROWS'} and $cnt >= $$extras{'MAX_ROWS'}
0 0 0 $$extras{'MAX_ROWS'} and $cnt >= $$extras{'MAX_ROWS'} and $$class{'cursor'}->finish
2649 0 0 0 @_ && ref $_[0] eq 'ARRAY'
2702 0 0 0 defined $where and length $where
0 0 0 defined $where and length $where and not $where =~ /^\s+$/
2870 0 0 0 defined $where and length $where
0 0 0 defined $where and length $where and not $where =~ /^\s+$/
2999 0 0 0 not $class->is_AutoCommit and $class->is_AutoRollback
3056 0 0 0 $xprm{'CALLER_DISCONNECT'} and $class->state eq 'DISCONNECTED'
3063 0 0 0 $xprm{'CALLER_DISCONNECT'} and $class->state eq 'UNDEF'
3127 0 0 0 $PERSISTENT_OBJECT_ENABLED and not $FORCE_USUAL_DESTRUCTION
3128 0 0 0 not $class->is_RaiseError || $class->is_AutoCommit and $class->is_AutoRollback
0 0 0 not $class->is_RaiseError || $class->is_AutoCommit and $class->is_AutoRollback and $class->_internal_state eq -1
3184 0 0 0 $PERSISTENT_OBJECT_ENABLED and not $FORCE_USUAL_DESTRUCTION
3185 0 0 0 not $class->is_RaiseError || $class->is_AutoCommit and $class->is_AutoRollback
0 0 0 not $class->is_RaiseError || $class->is_AutoCommit and $class->is_AutoRollback and $class->_internal_state eq -1
3214 0 0 0 $xprm{'CALLER_DISCONNECT'} and $class->state eq 'DISCONNECTED'
0 0 0 $xprm{'CALLER_DISCONNECT'} and $class->state eq 'CONNECTED'
3228 0 0 0 $class->is_RaiseError and $DBI::err
0 0 0 not $class->is_RaiseError || $class->is_AutoCommit and $class->is_AutoRollback
0 0 0 not $class->is_RaiseError || $class->is_AutoCommit and $class->is_AutoRollback and $class->_internal_state eq -1
3230 0 0 0 $class->is_AutoRollback and not $class->is_AutoCommit
3339 0 0 0 ref $rshr eq 'HASH' and (%$rshr) = map({$_, $$statCC{$_};} keys %$statCC)
3341 0 0 0 length $rshr > 2 and (%$th) = map({$_, $$statCC{$_};} keys %{$$statCC{$rshr};})
3443 0 0 0 ref $rshr eq 'HASH' and (%$rshr) = map({$_, $$class{'_qryStat'}{$_};} keys %{$$class{'_qryStat'};})
3444 0 0 0 length $rshr > 2 and (%$th) = map({$_, $$class{'_qryStat'}{$_};} keys %{${$$class{'_qryStat'};}{$rshr};})
3468 0 0 0 ref $rshr eq 'HASH' and (%$rshr) = map({$_, $$class{'_spcStat'}{$_};} keys %{$$class{'_spcStat'};})
3469 0 0 0 length $rshr > 2 and (%$th) = map({$_, $$class{'_spcStat'}{$_};} keys %{${$$class{'_spcStat'};}{$rshr};})

or 2 conditions

line l !l condition
346 0 0 (caller 1)[3] || ''
615 0 0 (caller 1)[3] || ''
1146 0 0 (caller 1)[3] || ''
1167 0 0 (caller 1)[3] || ''
1226 0 0 (caller 1)[3] || ''
1288 0 0 (caller 1)[3] || ''
1363 0 0 (caller 1)[3] || ''
1435 0 0 (caller 1)[3] || ''
1448 0 0 (caller 1)[3] || ''
1515 0 0 (caller 1)[3] || ''
1537 0 0 (caller 1)[3] || ''
1579 0 0 (caller 1)[3] || ''
1659 0 0 (caller 1)[3] || ''
1917 0 0 (caller 1)[3] || ''
2079 0 0 (caller 1)[3] || ''
2191 0 0 (caller 1)[3] || ''
2286 0 0 (caller 1)[3] || ''
2352 0 0 (caller 1)[3] || ''
2402 0 0 (caller 1)[3] || ''
2458 0 0 (caller 1)[3] || ''
2569 0 0 (caller 1)[3] || ''
2709 0 0 (caller 1)[3] || ''
2879 0 0 (caller 1)[3] || ''
2952 0 0 (caller 1)[3] || ''
2970 0 0 (caller 1)[3] || ''
2984 0 0 (caller 1)[3] || ''
3025 0 0 (caller 1)[3] || ''
3047 0 0 (caller 1)[3] || ''
3098 0 0 (caller 1)[3] || ''
3120 0 0 (caller 1)[3] || ''
3177 0 0 (caller 1)[3] || ''
3230 0 0 $class->rollback or die 'STATUS IS IN ERROR AND CANNOT ROLLBACK: ', $$class{'connection'}->errstr
3519 0 0 (caller 1)[3] || ''
3547 0 0 (caller 1)[3] || ''
3634 0 0 (caller 1)[3] || ''
3666 0 0 (caller 1)[3] || ''
3786 0 0 (caller 1)[3] || ''
4201 0 0 $args{'in'} || \&_no_filter
0 0 $args{'out'} || \&_no_filter
4213 0 0 $offset || 0
4235 0 0 $offset || 0

or 3 conditions

line l !l&&r !l&&!r condition
318 0 0 0 ref $class || $class
949 0 0 0 $line =~ /^#/ or $line =~ /^$/
986 0 0 0 $line =~ /^#/ or $line =~ /^$/
1415 0 0 0 $type eq 't' or $type eq 'T'
0 0 0 $type eq 't' or $type eq 'T' or $type eq 'd'
0 0 0 $type eq 't' or $type eq 'T' or $type eq 'd' or $type eq 'D'
0 0 0 $type eq 't' or $type eq 'T' or $type eq 'd' or $type eq 'D' or $type eq 'n'
0 0 0 $type eq 't' or $type eq 'T' or $type eq 'd' or $type eq 'D' or $type eq 'n' or $type eq 'N'
0 0 0 $type eq 't' or $type eq 'T' or $type eq 'd' or $type eq 'D' or $type eq 'n' or $type eq 'N' or $h{$key} eq 'NULL'
2599 0 0 0 $$extras{'INCLUDE_HEADER'} || !defined($$extras{'INCLUDE_HEADER'})
2759 0 0 0 $seeked eq 'all' or $seeked eq 'array'
0 0 0 $seeked eq 'all' or $seeked eq 'array' or $seeked eq 'listed'
0 0 0 $seeked eq 'all' or $seeked eq 'array' or $seeked eq 'listed' or $seeked eq 'skeemamap'
2905 0 0 0 $seeked eq 'all' or $seeked eq 'listed'
0 0 0 $seeked eq 'all' or $seeked eq 'listed' or $seeked eq 'skeemamap'
3128 0 0 0 $class->is_RaiseError || $class->is_AutoCommit
3185 0 0 0 $class->is_RaiseError || $class->is_AutoCommit
3228 0 0 0 $class->is_RaiseError || $class->is_AutoCommit