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
87 0 0 2 $kind ne 'one-way' && $kind ne 'notification-operation'

or 2 conditions

line l !l condition
44 0 2 $args->{'timeout'} || 180
80 0 2 $args->{'method'} || 'POST'
81 0 2 $args->{'soap'} || 'SOAP11'
83 0 2 $args->{'mpost_id'} || 42
86 0 2 $args->{'kind'} || 'request-response'
99 0 2 $args->{'endpoint'} // ''
103 0 2 $mime ||= 'text/xml'
107 0 0 $mime ||= 'application/soap+xml'
225 1 0 $response->content_type || ''
253 1 0 $mtom ||= []
283 1 0 $response->header('Content-Type') || ''
321 0 0 $response->content_type || ''
342 10 0 ${"${pkg}::VERSION";} || 'undef'

or 3 conditions

line l !l&&r !l&&!r condition
63 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, @_))
93 0 2 0 $args->{'header'} || 'HTTP::Headers'->new
235 1 0 0 $response->decoded_content('ref', 1) || $response->content('ref', 1)