Condition Coverage

blib/lib/DBD/AnyData.pm
Criterion Covered Total %
condition 15 58 25.8


and 3 conditions

line !l l&&!r l&&r condition
211 0 0 0 $$catalog{'format'} and 'XML HTMLtable' =~ /$$catalog{'format'}/
250 0 0 0 $_[1] and $_[1]{'table_name'}
364 0 0 0 $format eq 'DBI' and not $$flags{'keep_connection'}
528 1 6 0 $cols and ref $cols ne 'ARRAY'
559 0 0 7 defined $$attr{'col_nums'} and defined _HASH0($$attr{'col_nums'})

or 2 conditions

line l !l condition
319 0 0 $$row{$lookup} || (next)
416 2 0 $$flags{'format'} ||= 'Base'
417 2 0 $$flags{'file_name'} ||= ''
418 1 1 $$flags{'eol'} ||= "\n"
444 0 0 $_ ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
174 0 0 1 $tname eq 'all' or $tname eq ''
276 0 0 1 $$flags{'sql'} || "SELECT * FROM $table_name"
278 0 1 0 $$flags{'params'} || ()
318 0 0 0 $$flags{'lookup_key'} || $$sth{'NAME'}[0]
349 0 0 0 $newval ||= $$old_row{$_}
356 0 0 0 $records ||= $dbh->selectall_arrayref($sql)
376 0 0 0 $$flags{'records'} ||= $records
419 1 1 0 $$flags{'f_dir'} ||= $$dbh{'f_dir'}
516 0 7 0 $$catalog{'ad'} || AnyData::adTable($format, $file, $createMode, $lockMode, $catalog, $tname)
534 0 0 7 'Base XML HTMLtable' =~ /$$catalog{'format'}/ or $file =~ /http:|ftp:/
0 0 7 'Base XML HTMLtable' =~ /$$catalog{'format'}/ or $file =~ /http:|ftp:/ or ref $file eq 'ARRAY'