Condition Coverage

blib/lib/RPC/ExtDirect/Client.pm
Criterion Covered Total %
condition 29 43 67.4


and 3 conditions

line !l l&&!r l&&r condition
774 0 1 8 $uploads and @$uploads
861 0 26 1 'HASH' eq ref $content and $content->{'type'} eq 'exception'
888 9 2 0 'HASH' ne ref $ev and 'ARRAY' ne ref $ev
2 9 0 'HASH' eq ref $ev and $ev->{'name'} eq '__NONE__' || $ev->{'name'} eq '' || $ev->{'type'} ne 'event'

or 2 conditions

line l !l condition
398 3 54 $self->proto || 'http'
482 2 0 $arg || {}

or 3 conditions

line l !l&&r !l&&!r condition
40 4 10 0 delete $params{'config'} || $api && $api->config || 'RPC::ExtDirect::Config'->new
175 8 20 0 $type ||= $api->type
265 14 0 0 $actual_m_class eq $std_m_class or $actual_m_class->isa($std_m_class)
391 30 14 13 $type eq 'remoting' or $type eq 'polling'
402 26 4 0 $api->url || $config->router_path
10 4 0 $api->url || $config->poll_path
845 9 3 26 $trans->cookies || $self->cookies
888 1 0 8 $ev->{'name'} eq '__NONE__' || $ev->{'name'} eq '' || $ev->{'type'} ne 'event'
0 0 11 'HASH' ne ref $ev and 'ARRAY' ne ref $ev or 'HASH' eq ref $ev and $ev->{'name'} eq '__NONE__' || $ev->{'name'} eq '' || $ev->{'type'} ne 'event'