Condition Coverage

blib/lib/Test/HTTP/Response.pm
Criterion Covered Total %
condition 3 16 18.7


and 3 conditions

line !l l&&!r l&&r condition
300 0 3 2 ref $response and not defined $$cookies{"$response"}

or 2 conditions

line l !l condition
116 0 1 $comment ||= 'Response has HTTP OK (2xx) status'
123 0 0 $comment ||= 'Response has HTTP REDIRECT (3xx) status'
131 0 0 $comment ||= 'Response has HTTP Not Found (404) status'
138 0 0 $comment ||= 'Response has HTTP Error (5xx) status'
261 0 0 $$cookies{$cookie_name}{$field} || ''

or 3 conditions

line l !l&&r !l&&!r condition
108 0 0 0 $diag ||= "status doesn't match, expected HTTP status code '${code}', got " . $response->code . "\n"