Condition Coverage

lib/XML/RPC/Fast.pm
Criterion Covered Total %
condition 0 44 0.0


and 2 conditions

line l !l condition
413 0 0 @data = rpcfault($res->code, "Call to $uri failed: $status") and last
417 0 0 @data = {'fault', {'faultCode', 499, 'faultString', qq[Call to $uri failed: Response is not an XML: "$text"]}} and last
420 0 0 @data = {'fault', {'faultCode', 499, 'faultString', qq[Call to $uri failed: Bad Response: $@, "$text"]}} and last

and 3 conditions

line !l l&&!r l&&r condition
342 0 0 0 $url and not ref $$self{'ua'}
364 0 0 0 ref $_[0] and ref $_[0] eq 'CODE'
375 0 0 0 $self->ua->async and not $cb
417 0 0 0 length $text and $text =~ /^\s*<\?xml/s
429 0 0 0 ref $data[0] eq 'HASH' and exists $data[0]{'fault'}
436 0 0 0 $cb and defined wantarray
438 0 0 0 ref $data[0] eq 'HASH' and exists $data[0]{'fault'}
454 0 0 0 ref $res[0] eq 'HASH' and exists $res[0]{'fault'}

or 2 conditions

line l !l condition
435 0 0 $args{'method'} || 'POST'

or 3 conditions

line l !l&&r !l&&!r condition
275 0 0 0 $_ eq 'rpcfault' or $_ eq 'customtype'
312 0 0 0 eval { do { require join('/', split(/::/, $prefix . $req . '.pm', 0)); $req = $prefix . $req; 1 } } or do { push @fail, [$prefix . $req, $@]; eval { do { require join('/', split(/::/, $req . '.pm', 0)); 1 } } }
343 0 0 0 $$self{'useragent'} || 'XML-RPC-Fast/' . $VERSION
379 0 0 0 $args{'url'} || $$self{'url'}