Condition Coverage

blib/lib/RPC/ExtDirect/Client.pm
Criterion Covered Total %
condition 27 41 65.8


and 3 conditions

line !l l&&!r l&&r condition
760 0 1 3 $uploads and @$uploads
852 0 26 1 'HASH' eq ref $content and $$content{'type'} eq 'exception'
879 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
481 2 0 $arg || {}

or 3 conditions

line l !l&&r !l&&!r condition
40 1 10 0 delete $params{'config'} || $api && $api->config || 'RPC::ExtDirect::Config'->new
175 2 20 0 $type ||= $api->type
265 11 0 0 $actual_m_class eq $std_m_class or $actual_m_class->isa($std_m_class)
391 27 11 10 $type eq 'remoting' or $type eq 'polling'
401 26 1 0 $api->url || $config->router_path
10 1 0 $api->url || $config->poll_path
831 9 3 26 $trans->cookies || $self->cookies
879 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'