Condition Coverage

blib/lib/DBD/D1.pm
Criterion Covered Total %
condition 1 52 1.9


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 0 $params && @$params
87 0 0 0 $res->{'status'} == 599 and $detail =~ /ssl|IO::Socket/i
95 0 0 0 $data and ref $data eq "HASH"
140 0 0 2 defined $k and defined $v
228 0 0 0 $sth and $sth->execute
401 0 0 0 defined $max_rows and @result >= $max_rows

or 2 conditions

line l !l condition
86 0 0 $res->{'content'} // ""
97 0 0 $data->{'errors'} // []
99 0 0 $errs->[0]{'message'} // "Unknown D1 API error"
105 0 0 $res->{'reason'} // "Unknown"
114 0 0 $data->{'errors'} // []
304 0 0 $type // ""
331 0 0 $sth->{'d1_params'} // []
349 0 0 $res->{'results'} // []
350 0 0 $res->{'meta'} // {}
373 0 0 ($meta->{'changes'} // $meta->{'rows_affected'}) // 0
376 0 0 $sth->{'d1_rows_affected'} || '0E0'
397 0 0 $sth->{'d1_result_data'} // []
405 0 0 $sth->{'NAME'} // []
418 0 0 $_[0]{'d1_rows_affected'} // -1

or 3 conditions

line l !l&&r !l&&!r condition
154 0 0 0 $auth || $dsnargs{'api_token'}
373 0 0 0 $meta->{'changes'} // $meta->{'rows_affected'}