blib/lib/Elasticsearch/Role/Cxn.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 18 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
122 | 4 | 1 | 235 | $mime_type && $mime_type ne 'text/plain' |
124 | 0 | 63 | 177 | $code >= 200 and $code <= 209 |
125 | 34 | 1 | 142 | defined $body and length $body |
159 | 2 | 0 | 1 | $error_type eq 'Conflict' and $msg =~ /: version conflict, current \[(\d+)\]/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
153 | 3 | 0 | 0 | $$body{'error'} || $msg |
163 | 61 | 0 | 0 | $msg ||= $error_type |