Condition Coverage

blib/lib/Test/HTTP.pm
Criterion Covered Total %
condition 3 23 13.0


or 2 conditions

line l !l condition
375 0 0 $charset ||= 'ISO-8859-1'

or 3 conditions

line l !l&&r !l&&!r condition
238 0 0 6 defined $self->username or defined $self->password
256 0 6 0 $description ||= $self->name . " status is $expected_code."
272 0 0 0 $description ||= $self->name . " $header_name matches '${expected_value}'."
292 0 1 0 $description ||= $self->name . " $header_name matches $regex."
311 0 0 0 $description ||= $self->name . " body is '${expected_body}'."
326 0 0 0 $description ||= $self->name . " body matches $regex."
373 0 0 0 $response->content_is_text or $response->content_is_xml