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
251 0 0 0 @meta and $clobber || !$dc->{'metaNames'}
397 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]/
473 0 0 0 not $connect and ref $that
486 0 0 0 not $scheme and $base =~ m[^/]
515 0 0 0 ref $that and not defined $addr
537 0 0 0 $$addr{"${prefix}Addr"} && $$addr{"${prefix}Port"}
576 0 0 0 $dc->{'encoding'} and utf8::is_utf8($msg)
653 0 0 0 $dc->{'encoding'} and not utf8::is_utf8($buf)
723 0 0 0 $w->[1] =~ /$hlw0/ and $$w[$#$w] =~ /$hlw1/
759 0 0 0 $dc->{'encoding'} and not utf8::is_utf8($buf)
833 0 0 0 $w->[1] =~ /$hlw0/ and $$w[$#$w] =~ /$hlw1/
867 0 0 0 $dc->{'encoding'} and not utf8::is_utf8($$bufr)

or 2 conditions

line l !l condition
477 0 0 $connect //= 'inet://localhost:50000'
480 0 0 $prefix ||= 'Peer'
493 0 0 $host ||= 'localhost'
494 0 0 $port ||= 50000
500 0 0 $opts // ''
516 0 0 $prefix ||= 'Peer'
551 0 0 $dc->{'connect'}{'Domain'} // 'INET'
609 0 0 $fh->read($size_packed, $ilen) || 0
662 0 0 $dc->{'metaNames'} || []
872 0 0 $JSON_BACKEND // 'JSON'

or 3 conditions

line l !l&&r !l&&!r condition
114 0 0 0 ref $that || $that
224 0 0 0 $clobber or not $dc->{'fieldSeparator'}
227 0 0 0 $clobber or not $dc->{'tokenSeparator'}
230 0 0 0 $clobber or not $dc->{'encoding'}
233 0 0 0 $clobber or not $dc->{'htmlHighlight'}
236 0 0 0 $clobber or not $dc->{'textHighlight'}
239 0 0 0 $clobber or not $dc->{'tableHighlight'}
245 0 0 0 $clobber or not $dc->{'fieldNames'}
251 0 0 0 $clobber || !$dc->{'metaNames'}
256 0 0 0 not ref $src or ref $src eq 'SCALAR'
401 0 0 0 not defined $timeout or $timeout eq ''
482 0 0 0 $connect->{'URL'} || $connect->{'Url'} || $connect->{'url'}
486 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'
515 0 0 0 $that->{'sock'} || $that->{'connect'}
675 0 0 0 $dc->{'parseMeta'} or $dc->{'parseContext'}
684 0 0 0 $metaNames->[$_] or "${_}_"
773 0 0 0 $dc->{'parseMeta'} or $dc->{'parseContext'}