Condition Coverage

blib/lib/PDL/IO/DBI.pm
Criterion Covered Total %
condition 0 50 0.0


and 2 conditions

line l !l condition
359 0 0 $c_pack[$_] eq 'q' and 0
401 0 0 $c_pack eq 'q' and 0

and 3 conditions

line !l l&&!r l&&r condition
118 0 0 0 $reuse_sth and $$reuse_sth
191 0 0 0 $headerline->[$_] and $headerline->[$_] ne ''
287 0 0 0 $$reuse_sth and not eval { do { $$reuse_sth->isa('DBI::st') } }
341 0 0 0 $detected_type[$_] and $detected_type[$_] eq '_dt_'
389 0 0 0 $detected_type[$_] and $detected_type[$_] eq '_dt_'
392 0 0 0 $dt eq float() and $c_type ne double()
393 0 0 0 $dt eq longlong() and not $c_type =~ /^(double|float)$/
394 0 0 0 $dt eq long() and not $c_type =~ /^(double|float|longlong)$/
395 0 0 0 $dt eq short() and not $c_type =~ /^(double|float|longlong|long)$/
396 0 0 0 $dt eq byte() and not $c_type =~ /^(double|float|longlong|long|short)$/

or 2 conditions

line l !l condition
390 0 0 $detected_type[$_] || 'double'
406 0 0 $tmap{$sql_types->[$_]} || ''

or 3 conditions

line l !l&&r !l&&!r condition
335 0 0 0 $detected_type[$_] or warn "column $_ has unknown type '$sql_types->[$_]' gonna use Double\n"
356 0 0 0 not defined $c_type[$_] or $c_type[$_] eq 'auto'
381 0 0 0 not $c_type or $c_type eq 'auto'
385 0 0 0 $detected_type[$_] or warn "column $_ has unknown type '$sql_types->[$_]' gonna use Double\n"