Condition Coverage

blib/lib/DBIx/Database.pm
Criterion Covered Total %
condition 0 178 0.0


and 3 conditions

line !l l&&!r l&&r condition
133 0 0 0 @params > 1 and ref($bval = $params[0]) eq 'ARRAY'
0 0 0 @params > 1 and ref($bval = $params[0]) eq 'ARRAY' and ref($btype = $params[1]) eq 'ARRAY'
144 0 0 0 defined $$bval[$i] and defined $$btype[$i]
0 0 0 defined $$bval[$i] and defined $$btype[$i] and $$Numeric{$$btype[$i]}
148 0 0 0 defined $bt && $bt <= &DBI::SQL_CHAR()
161 0 0 0 not $ret and $$self{'*Debug'}
162 0 0 0 not $ret and $$self{'*Debug'} == 1
235 0 0 0 $HaveTypes and $sth
305 0 0 0 $num == 0 and $$self{'*Debug'} > 1
308 0 0 0 $#tabs < 0 and $$self{'*Debug'} > 1
384 0 0 0 $tabfilter and $table =~ /^$tabfilter(.*?)$/
394 0 0 0 $tabfilter and $ntab =~ /^$tabfilter(.*?)$/
414 0 0 0 not $$tables{$ltab} and $$tables{"$tf$ltab"}
524 0 0 0 $hdl and $cmd = $$self{'*DoOnConnect'}
577 0 0 0 $keepopen and not defined $$self{'*DBHdl'}
587 0 0 0 $keepopen and not defined $$self{'*DBHdl'}
608 0 0 0 ref $data_source and eval { do { $data_source->isa('DBI::db') } }
694 0 0 0 defined $$self{'*DBHdl'} and not $keepopen
926 0 0 0 not $orgerr and $@
927 0 0 0 $orgerr and $@
1003 0 0 0 defined $user && $$db{'*Username'} ne $user
1009 0 0 0 $public && DBIx::Compat::GetItem($drv, 'CreatePublic')
1024 0 0 0 defined $user && $$db{'*Username'} ne $user
1047 0 0 0 $createseq and $typespec eq 'counter'
1051 0 0 0 $constraints and $constraint = $$constraints{$field}
1070 0 0 0 $alterconstraints and $ccmd
1073 0 0 0 $createseq and $typespec eq 'counter'
1102 0 0 0 $default and defined $$default{$field}
1125 0 0 0 $constraints and $constraint = $$constraints{$field}
1200 0 0 0 $createseq and $typespec eq 'counter'
1214 0 0 0 $constraints and $constraint = $$constraints{$field}
1292 0 0 0 $newtab and 'DBIx::Database'->LastError
1298 0 0 0 $grant and $newtab || $setpriv
1305 0 0 0 $setpriv and not $newtab
1313 0 0 0 $newtab and 'DBIx::Database'->LastError
1319 0 0 0 $setpriv and not $newtab
1348 0 0 0 $grant and $newseq || $setpriv
1355 0 0 0 $setpriv and not $newseq
1364 0 0 0 $newseq and 'DBIx::Database'->LastError
1370 0 0 0 $setpriv and not $newseq
1426 0 0 0 defined $user && $$db{'*Username'} ne $user
1431 0 0 0 $public && DBIx::Compat::GetItem($drv, 'CreatePublic')

or 2 conditions

line l !l condition
52 0 0 $code || $dbi::err || -1
138 0 0 $$self{'*NumericTypes'} || {}
335 0 0 $$self{'*TableFilter'} || ''
336 0 0 $DBIx::Recordset::Metadata{$metakeydsn} || {}
337 0 0 $DBIx::Recordset::Metadata{$metakeydsntf} || {}
349 0 0 $$self{'*TableFilter'} || '.'
406 0 0 $tabfilter || ''
631 0 0 $DBIx::Recordset::Metadata{"$$self{'*DataSource'}//*"} ||= {}
635 0 0 $$self{'*TableFilter'} || ''
636 0 0 $DBIx::Recordset::Metadata{$metakeydsn} || {}
637 0 0 $DBIx::Recordset::Metadata{$metakeydsntf} || {}
651 0 0 $tabfilter ||= '.'
842 0 0 $$self{'*TableFilter'} || ''
843 0 0 $DBIx::Recordset::Metadata{$metakeydsn} || {}

or 3 conditions

line l !l&&r !l&&!r condition
53 0 0 0 $msg || $DBI::errstr || 'croak from ' . (caller)
826 0 0 0 defined $metadata or $clear
1063 0 0 0 $$constraint[$c + 1] || $$constraint[$c]
1092 0 0 0 $init or $default
1147 0 0 0 lc $cval eq 'null' or lc $cval eq 'not null'
1226 0 0 0 $$constraint[$c + 1] || $$constraint[$c]
1298 0 0 0 $newtab || $setpriv
1348 0 0 0 $newseq || $setpriv