Condition Coverage

blib/lib/Protocol/Dqlite.pm
Criterion Covered Total %
condition 6 21 28.5


and 3 conditions

line !l l&&!r l&&r condition
343 0 2 0 $_ and utf8::encode($_)
446 3 0 0 not $is_done and $end ne $_DQLITE_RESPONSE_ROWS_PART
771 0 0 0 defined $name and length $name

or 3 conditions

line l !l&&r !l&&!r condition
339 6 0 0 $REQUEST_PACK[$type] || Carp::croak("Unknown request type: $type")
432 6 0 0 $RESPONSE_METADATA[$type] || do { warn "Unknown Dqlite message response type: $type\n"; return }
460 0 0 0 utf8::decode($_) or warn "Bad UTF-8: $_\n"
571 8 0 5 $type == 3 or $type == 10