blib/lib/Net/Async/Redis/Protocol.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 27 | 51.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
51 | 6012 | 0 | 1014 | ($data ^ $data) eq 0 and int 0 + $data eq $data |
6012 | 0 | 1014 | ($data ^ $data) eq 0 and int 0 + $data eq $data and not $data =~ /inf/i | |
6012 | 0 | 0 | ($data ^ $data) eq 0 and 0 + $data eq $data | |
2 | 0 | 6010 | length $data < 100 and not $data =~ /[$CRLF]/ | |
111 | 0 | 0 | 1014 | &looks_like_number($int) and int $int eq $int |
115 | 0 | 0 | 0 | &looks_like_number($num) and lc 0 + $num eq lc $num |
185 | 7037 | 0 | 0 | ref $data eq "HASH" and not $self->{'hashrefs'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
107 | 4 | 0 | 2015 | s/^\$-1$CRLF// or s/^\*-1$CRLF// |
4 | 1 | 2014 | s/^\$-1$CRLF// or s/^\*-1$CRLF// or s/^_$CRLF// |