Condition Coverage

blib/lib/RPC/XML/Procedure.pm
Criterion Covered Total %
condition 11 35 31.4


and 2 conditions

line l !l condition
173 1 9 exists $$new_proc{'signature'} && ref $$new_proc{'signature'} eq 'ARRAY' && scalar @{$$new_proc{'signature'};}

and 3 conditions

line !l l&&!r l&&r condition
130 0 0 0 $class ne 'RPC::XML::Procedure' and $pkg ne $class
169 1 1 10 $$new_proc{'name'} and $$new_proc{'code'}
173 0 9 1 $class ne 'RPC::XML::Function' and not exists $$new_proc{'signature'} && ref $$new_proc{'signature'} eq 'ARRAY' && scalar @{$$new_proc{'signature'};}
290 4 1 1 $value and ref $value eq 'CODE'
564 0 0 0 $attr{'language'} and $attr{'language'} ne 'perl'
685 0 0 0 blessed $@ and $@->isa('RPC::XML::fault')
699 0 0 0 $name eq 'system.status' and @params_in
0 0 0 $name eq 'system.status' and @params_in and $paramtypes[0] eq 'boolean'
0 0 0 $name eq 'system.status' and @params_in and $paramtypes[0] eq 'boolean' and $params[0]

or 2 conditions

line l !l condition
248 0 3 (shift())->{'namespace'} || ''
463 0 0 $$self{'sig_table'}{$sig} || 0
555 0 0 $$new_proc{'signature'} ||= []