Condition Coverage

lib/XML/Compile/Transport/SOAPHTTP.pm
Criterion Covered Total %
condition 17 41 41.4


and 3 conditions

line !l l&&!r l&&r condition
89 0 0 2 $kind ne 'one-way' && $kind ne 'notification-operation'

or 2 conditions

line l !l condition
46 0 2 $args->{'timeout'} || 180
82 0 2 $args->{'method'} || 'POST'
83 0 2 $args->{'soap'} || 'SOAP11'
85 0 2 $args->{'mpost_id'} || 42
88 0 2 $args->{'kind'} || 'request-response'
101 0 2 $args->{'endpoint'} // ""
105 0 2 $mime ||= "text/xml"
109 0 0 $mime ||= "application/soap+xml"
227 1 0 $response->content_type || ''
255 1 0 $mtom ||= []
285 1 0 $response->header('Content-Type') || ''
323 0 0 $response->content_type || ''
344 10 0 ${"${pkg}::VERSION";} || 'undef'

or 3 conditions

line l !l&&r !l&&!r condition
65 0 2 0 $default_ua ||= "LWP::UserAgent"->new("requests_redirectable", ["GET", "HEAD", "POST", "M-POST"], "protocols_allowed", ["http", "https"], "parse_head", 0, @_)
2 2 0 $self->{'user_agent'} ||= ($default_ua ||= "LWP::UserAgent"->new("requests_redirectable", ["GET", "HEAD", "POST", "M-POST"], "protocols_allowed", ["http", "https"], "parse_head", 0, @_))
95 0 2 0 $args->{'header'} || 'HTTP::Headers'->new
237 1 0 0 $response->decoded_content('ref', 1) || $response->content('ref', 1)