blib/lib/HTTP/HeaderParser/XS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 18 | 16.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
103 | 0 | 0 | 0 | $code >= 100 and $code <= 199 |
line | l | !l | condition |
---|---|---|---|
90 | 2 | 0 | $$HTTPCode{$code} || '' |
142 | 1 | 0 | $$HTTPCode{shift()} || '' |
145 | 0 | 0 | $$HTTPCode{$self->response_code} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
103 | 0 | 0 | 0 | $code == 304 or $code == 204 |
0 | 0 | 0 | $code == 304 or $code == 204 or $code >= 100 and $code <= 199 | |
135 | 0 | 1 | 0 | $msg ||= $self->http_code_english($code) |