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
76 0 0 259 $attr and ref $attr eq "HASH"
209 0 6280 25 $class and not $class_mapped{$class}++
6280 2 23 $class and not $class_mapped{$class}++ and my(@ka) = eval {
290 0 0 6 exists $meta->{$_} and exists $meta->{$_}{$csv_attr}
301 0 0 427 $meta and $meta->{'fh'}
350 0 1 396 $meta->{'col_names'} && @{$meta->{'col_names'};}

or 2 conditions

line l !l condition
144 0 1 $table ||= ""
229 3 5975 $dbh->{'csv_class'} || 'Text::CSV_XS'
230 11 5967 $dbh->{'csv_eol'} || "\r\n"
329 0 0 $meta->{'col_names'} ||= \@hdr

or 3 conditions

line l !l&&r !l&&!r condition
229 14 5978 0 $meta->{'csv_class'} ||= $dbh->{'csv_class'} || 'Text::CSV_XS'
230 14 5978 0 $meta->{'csv_eol'} ||= $dbh->{'csv_eol'} || "\r\n"
248 18 0 275 $meta->{'csv_in'} || $dbh->{'csv_csv_in'}
259 6 0 269 $dbh->{'csv_null'} or $meta->{'csv_null'}
310 3 0 2 $DBD::CSV::dr::CSV_TYPES[$_ + 6] || Text::CSV_XS::PV()