Condition Coverage

blib/lib/HTTP/Request/CurlParameters.pm
Criterion Covered Total %
condition 25 56 44.6


and 3 conditions

line !l l&&!r l&&r condition
449 5 22 0 $val and $val eq $self->uri->host_port || $val eq $self->uri->host
495 0 0 0 $val and $val eq $self->uri->host_port || $val eq $self->uri->host
633 22 5 0 $self->method ne "GET" and @{$self->form_args;}
914 0 0 0 $h eq "Host" and $val eq $self->uri->host_port || $val eq $self->uri->host
980 1 0 2 $self->method eq "POST" and $self->body
995 2 0 1 exists $h{'Pragma'} && exists $h{'Cache-Control'} && $h{'Cache-Control'} =~ /^no-cache\b/ && $h{'Pragma'} eq 'no-cache'
1017 42 2 18 $name eq "Host" and $val eq $self->uri->host_port || $val eq $self->uri->host

or 2 conditions

line l !l condition
555 50 2 delete $options{'type'} || 'LWP'
568 0 27 $options{'prefix'} ||= ""
569 2 25 $options{'implicit_headers'} ||= []
671 0 25 $options{'prefix'} ||= ""
672 0 25 $options{'implicit_headers'} ||= []
764 0 0 $options{'prefix'} ||= ""
765 0 0 $options{'implicit_headers'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
449 20 0 2 $val eq $self->uri->host_port || $val eq $self->uri->host
495 0 0 0 $val eq $self->uri->host_port || $val eq $self->uri->host
835 0 0 0 $content ||= $self->_build_quoted_body($req->content)
911 0 0 0 not defined $default or $val ne $default
914 0 0 0 $val eq $self->uri->host_port || $val eq $self->uri->host
1015 41 21 58 not defined $default or $val ne $default
1017 18 0 2 $val eq $self->uri->host_port || $val eq $self->uri->host