Condition Coverage

blib/lib/Net/Async/Redis/Protocol.pm
Criterion Covered Total %
condition 17 24 70.8


and 3 conditions

line !l l&&!r l&&r condition
51 14 1 18 ($data ^ $data) eq '0' and int 0 + $data eq $data
15 2 16 ($data ^ $data) eq '0' and int 0 + $data eq $data and not $data =~ /inf/i
14 0 3 ($data ^ $data) eq '0' and 0 + $data eq $data
2 0 12 length $data < 100 and not $data =~ /[$CRLF]/
111 0 0 16 &looks_like_number($int) and int $int eq $int
115 0 0 3 &looks_like_number($num) and lc 0 + $num eq lc $num

or 3 conditions

line l !l&&r !l&&!r condition
107 4 0 14 s/^\$-1$CRLF// or s/^\*-1$CRLF//
4 1 13 s/^\$-1$CRLF// or s/^\*-1$CRLF// or s/^_$CRLF//