Condition Coverage

blib/lib/RPC/ExtDirect/API.pm
Criterion Covered Total %
condition 18 34 52.9


and 3 conditions

line !l l&&!r l&&r condition
82 26 0 0 @_ == 1 && 'HASH' eq ref $_[0]
227 3 0 5 $polling_api and not $no_polling
265 33 52 0 $arg{'no_overwrite'} and exists $self->{'actions'}{$action_name}

or 2 conditions

line l !l condition
220 8 0 $api_json || '{}'
234 5 0 $api_json || '{}'

or 3 conditions

line l !l&&r !l&&!r condition
84 3 23 0 $arg{'config'} ||= 'RPC::ExtDirect::Config'->new
183 0 5 0 $config ||= $self->config
189 2 1 0 $config ||= $self->config->clone
201 8 0 0 $remoting_api or $polling_api
382 40 0 12 $package or $action_name
432 0 0 0 $action_name || $package
438 145 80 186 $method->$type || $action->$type || $self->$type