Condition Coverage

blib/lib/DBD/CSV.pm
Criterion Covered Total %
condition 23 41 56.1


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 255 $attr and ref $attr eq 'HASH'
212 0 6070 22 $class and not $class_mapped{$class}++
6070 0 22 $class and not $class_mapped{$class}++ and my(@ka) = eval { do { $class->known_attributes } }
293 0 0 6 exists $meta->{$_} and exists $meta->{$_}{$csv_attr}
304 0 0 423 $meta and $meta->{'fh'}
353 0 1 394 $meta->{'col_names'} && @{$meta->{'col_names'};}

or 2 conditions

line l !l condition
147 0 1 $table ||= ''
232 0 5771 $dbh->{'csv_class'} || 'Text::CSV_XS'
233 11 5760 $dbh->{'csv_eol'} || "\r\n"
332 0 0 $meta->{'col_names'} ||= \@hdr

or 3 conditions

line l !l&&r !l&&!r condition
232 14 5771 0 $meta->{'csv_class'} ||= $dbh->{'csv_class'} || 'Text::CSV_XS'
233 14 5771 0 $meta->{'csv_eol'} ||= $dbh->{'csv_eol'} || "\r\n"
251 16 0 271 $meta->{'csv_in'} || $dbh->{'csv_csv_in'}
262 6 0 265 $dbh->{'csv_null'} or $meta->{'csv_null'}
313 3 0 2 $DBD::CSV::dr::CSV_TYPES[$_ + 6] || Text::CSV_XS::PV()