Condition Coverage

blib/lib/DDC/Client.pm
Criterion Covered Total %
condition 0 116 0.0


and 3 conditions

line !l l&&!r l&&r condition
247 0 0 0 @meta and $clobber || !$dc->{'metaNames'}
385 0 0 0 $timeout ne '' and $subcorpus ne ''
0 0 0 $timeout ne '' and $subcorpus ne '' and $timeout =~ /[0-9]/
0 0 0 $timeout ne '' and $subcorpus ne '' and $timeout =~ /[0-9]/ and not $subcorpus =~ /[0-9]/
461 0 0 0 not $connect and ref $that
474 0 0 0 not $scheme and $base =~ m[^/]
503 0 0 0 ref $that and not defined $addr
525 0 0 0 $$addr{"${prefix}Addr"} && $$addr{"${prefix}Port"}
564 0 0 0 $dc->{'encoding'} and utf8::is_utf8($msg)
641 0 0 0 $dc->{'encoding'} and not utf8::is_utf8($buf)
711 0 0 0 $w->[1] =~ /$hlw0/ and $$w[$#$w] =~ /$hlw1/
747 0 0 0 $dc->{'encoding'} and not utf8::is_utf8($buf)
821 0 0 0 $w->[1] =~ /$hlw0/ and $$w[$#$w] =~ /$hlw1/
855 0 0 0 $dc->{'encoding'} and not utf8::is_utf8($$bufr)

or 2 conditions

line l !l condition
465 0 0 $connect //= 'inet://localhost:50000'
468 0 0 $prefix ||= 'Peer'
481 0 0 $host ||= 'localhost'
482 0 0 $port ||= 50000
488 0 0 $opts // ''
504 0 0 $prefix ||= 'Peer'
539 0 0 $dc->{'connect'}{'Domain'} // 'INET'
597 0 0 $fh->read($size_packed, $ilen) || 0
650 0 0 $dc->{'metaNames'} || []
860 0 0 $JSON_BACKEND // 'JSON'

or 3 conditions

line l !l&&r !l&&!r condition
114 0 0 0 ref $that || $that
220 0 0 0 $clobber or not $dc->{'fieldSeparator'}
223 0 0 0 $clobber or not $dc->{'tokenSeparator'}
226 0 0 0 $clobber or not $dc->{'encoding'}
229 0 0 0 $clobber or not $dc->{'htmlHighlight'}
232 0 0 0 $clobber or not $dc->{'textHighlight'}
235 0 0 0 $clobber or not $dc->{'tableHighlight'}
241 0 0 0 $clobber or not $dc->{'fieldNames'}
247 0 0 0 $clobber || !$dc->{'metaNames'}
252 0 0 0 not ref $src or ref $src eq 'SCALAR'
389 0 0 0 not defined $timeout or $timeout eq ''
470 0 0 0 $connect->{'URL'} || $connect->{'Url'} || $connect->{'url'}
474 0 0 0 lc $scheme eq 'unix' or not $scheme and $base =~ m[^/]
0 0 0 not $scheme or grep {$_ eq lc $scheme;} 'inet', 'tcp'
503 0 0 0 $that->{'sock'} || $that->{'connect'}
663 0 0 0 $dc->{'parseMeta'} or $dc->{'parseContext'}
672 0 0 0 $metaNames->[$_] or "${_}_"
761 0 0 0 $dc->{'parseMeta'} or $dc->{'parseContext'}