lib/AnyEvent/RPC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 23 | 0.0 |
line | l | !l | condition |
---|---|---|---|
135 | 0 | 0 | @data = rpcfault($res->code, "Call to $req{'uri'} failed: $status") and last |
140 | 0 | 0 | @data = {'fault', {'faultCode', 499, 'faultString', qq[Call to $req{'uri'} failed: Response is not an XML: "$text"]}} and last |
143 | 0 | 0 | @data = {'fault', {'faultCode', 499, 'faultString', qq[Call to $req{'uri'} failed: Bad Response: $@, "$text"]}} and last |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
140 | 0 | 0 | 0 | length $text and $text =~ /^\s*<\?xml/su |
158 | 0 | 0 | 0 | $args{'cb'} and defined wantarray |
line | l | !l | condition |
---|---|---|---|
157 | 0 | 0 | $args{'method'} || $req{'method'} || 'POST' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
63 | 0 | 0 | 0 | $$self{$_} or croak("$_ not defined") |
64 | 0 | 0 | 0 | $$self{'useragent'} ||= 'AnyEvent::RPC/' . $VERSION |
80 | 0 | 0 | 0 | $$self{'useragent'} || $package . '/' . (do { ${$package . '::VERSION';} } || $VERSION) |