Condition Coverage

blib/lib/HTTP/Request/CurlParameters.pm
Criterion Covered Total %
condition 23 62 37.1


and 3 conditions

line !l l&&!r l&&r condition
461 5 19 0 $val and $val eq $self->uri->host_port || $val eq $self->uri->host
507 0 0 0 $val and $val eq $self->uri->host_port || $val eq $self->uri->host
646 19 5 0 $self->method ne "GET" and @{$self->form_args;}
927 0 0 0 $h eq "Host" and $val eq $self->uri->host_port || $val eq $self->uri->host
0 0 0 $h eq "Content-Length" and $self->post_data && $val == length $self->post_data || $self->body && $val == length $self->body
1002 1 0 2 $self->method eq "POST" and $self->body
1017 0 0 0 exists $h{'Pragma'} && exists $h{'Cache-Control'} && $h{'Cache-Control'} =~ /^no-cache\b/ && $h{'Pragma'} eq 'no-cache'
1039 32 2 15 $name eq "Host" and $val eq $self->uri->host_port || $val eq $self->uri->host

or 2 conditions

line l !l condition
567 44 2 delete $options{'type'} || 'LWP'
580 0 24 $options{'prefix'} ||= ""
581 2 22 $options{'implicit_headers'} ||= []
684 0 22 $options{'prefix'} ||= ""
685 0 22 $options{'implicit_headers'} ||= []
778 0 0 $options{'prefix'} ||= ""
779 0 0 $options{'implicit_headers'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
461 17 0 2 $val eq $self->uri->host_port || $val eq $self->uri->host
507 0 0 0 $val eq $self->uri->host_port || $val eq $self->uri->host
849 0 0 0 $content ||= $self->_build_quoted_body($req->content)
925 0 0 0 not defined $default or $val ne $default
927 0 0 0 $val eq $self->uri->host_port || $val eq $self->uri->host
0 0 0 $self->post_data && $val == length $self->post_data || $self->body && $val == length $self->body
1037 31 18 49 not defined $default or $val ne $default
1039 15 0 2 $val eq $self->uri->host_port || $val eq $self->uri->host