Branch Coverage

blib/lib/Web/Solid/Test/HTTPLists.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
28 0 2 if ($args->{$bearer_predicate})
37 2 1 if ($regex_fields->{$expected_header_field})
57 3 0 unless (defined $request->uri)
60 3 0 if (defined $relative) { }
69 0 3 if ($args->{$bearer_predicate})
90 0 3 if ($args->{$bearer_predicate})
105 7 1 if ($expected_response->code)
107 0 7 unless &like(scalar $response->code, qr/$code/, 'Response code matches ' . $expected_response->code)
111 3 5 if (scalar @expected_header_fields) { }
115 3 0 if (defined $response->header($expected_header_field)) { }
149 1 1 if ($object->isa('URI'))
153 0 1 if (defined $request_url)
161 0 1 unless $response->is_success
169 1 2 if ($request->header('Origin'))
171 0 1 if ($origin->path)