Condition Coverage

blib/lib/DBD/CSV.pm
Criterion Covered Total %
condition 25 41 60.9


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 259 $attr and ref $attr eq "HASH"
212 0 6276 25 $class and not $class_mapped{$class}++
6276 2 23 $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 427 $meta and $meta->{'fh'}
353 0 1 396 $meta->{'col_names'} && @{$meta->{'col_names'};}

or 2 conditions

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

or 3 conditions

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