Condition Coverage

blib/lib/HTTP/Request/CurlParameters.pm
Criterion Covered Total %
condition 29 72 40.2


and 3 conditions

line !l l&&!r l&&r condition
457 5 69 0 $val and $val eq $self->uri->host_port || $val eq $self->uri->host
503 5 0 0 $val and $val eq $self->uri->host_port || $val eq $self->uri->host
538 0 0 0 $val and $val eq $self->uri->host_port || $val eq $self->uri->host
677 55 17 2 $self->method ne "GET" and @{$self->form_args;}
1040 94 2 57 $h eq "Host" and $val eq $self->uri->host_port || $val eq $self->uri->host
85 11 0 $h eq "Content-Length" and $self->post_data && $val == length $self->post_data || $self->body && $val == length $self->body
1126 0 0 0 $self->method eq "POST" and $self->body
1141 0 0 0 exists $h{'Pragma'} && exists $h{'Cache-Control'} && $h{'Cache-Control'} =~ /^no-cache\b/u && $h{'Pragma'} eq 'no-cache'
1163 0 0 0 $name eq "Host" and $val eq $self->uri->host_port || $val eq $self->uri->host

or 2 conditions

line l !l condition
598 149 2 delete $options{'type'} || 'LWP'
611 0 74 $options{'prefix'} ||= ""
612 2 72 $options{'implicit_headers'} ||= []
716 0 72 $options{'prefix'} ||= ""
717 0 72 $options{'implicit_headers'} ||= []
810 0 5 $options{'prefix'} ||= ""
811 0 5 $options{'implicit_headers'} ||= []
901 0 0 $options{'prefix'} ||= ""
902 0 0 $options{'implicit_headers'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
457 67 0 2 $val eq $self->uri->host_port || $val eq $self->uri->host
503 0 0 0 $val eq $self->uri->host_port || $val eq $self->uri->host
538 0 0 0 $val eq $self->uri->host_port || $val eq $self->uri->host
881 0 0 0 $content ||= $self->_build_quoted_body($req->content)
1038 152 1 57 not defined $default or $val ne $default
1040 57 0 2 $val eq $self->uri->host_port || $val eq $self->uri->host
1 0 10 $self->post_data && $val == length $self->post_data || $self->body && $val == length $self->body
1161 0 0 0 not defined $default or $val ne $default
1163 0 0 0 $val eq $self->uri->host_port || $val eq $self->uri->host