Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
230 32 2 26 $self->before and $self->before->runnable
238 36 0 24 $self->after and $self->after->runnable
407 0 1 70 defined $action and length $action > 0
410 0 1 69 defined $method and length $method > 0
469 54 0 1 $hook && $hook->runnable

or 2 conditions

line l !l condition
396 50 21 $arg->{'type'} || 'rpc'

or 3 conditions

line l !l&&r !l&&!r condition
47 71 0 0 delete $arg->{'api'} || 'RPC::ExtDirect'->get_api
48 71 0 0 delete $arg->{'config'} || 'RPC::ExtDirect::Config'->new
151 0 2 12 'HASH' ne ref $data or not exists $data->{'extAction'}
2 0 12 'HASH' ne ref $data or not exists $data->{'extAction'} or not exists $data->{'extMethod'}
393 12 0 59 $arg->{'extAction'} || $arg->{'action'}
394 12 0 59 $arg->{'extMethod'} || $arg->{'method'}
395 13 0 58 $arg->{'extTID'} || $arg->{'tid'}
400 45 26 0 $arg->{'data'} || $arg