Condition Coverage

lib/XML/Compile/Transport/SOAPHTTP_MojoUA.pm
Criterion Covered Total %
condition 13 37 35.1


and 3 conditions

line !l l&&!r l&&r condition
131 0 0 1 $kind ne 'one-way' && $kind ne 'notification-operation'
208 0 0 1 &blessed($tx) and $tx->isa('Mojo::Transaction::HTTP')
223 0 1 0 $err and not $err->{'code'}

or 2 conditions

line l !l condition
74 0 1 $args{'kind'} || 'request-response'
101 0 0 $xmlin || {}
105 1 0 $trace->{'error'} ||= 'no xml as answer'
124 0 1 $args->{'method'} || 'POST'
125 0 1 $args->{'soap'} || 'SOAP11'
127 0 1 $args->{'mpost_id'} || 42
130 0 1 $args->{'kind'} || 'request-response'
281 5 0 ${"${pkg}::VERSION";} || 'undef'

or 3 conditions

line l !l&&r !l&&!r condition
136 0 1 0 $args->{'header'} || 'HTTP::Headers'->new
141 0 1 0 $mime ||= ref $soap ? $soap->mimeType : 'text/xml'
145 0 0 0 $mime ||= ref $soap ? $soap->mimeType : 'application/soap+xml'
192 1 0 0 $self->{'mojo_ua'} || 'Mojo::UserAgent'->new