Condition Coverage

blib/lib/Gearman/Spawner/Client/Sync.pm
Criterion Covered Total %
condition 7 26 26.9


or 2 conditions

line l !l condition
101 6 15 delete $params{'data'} || undef
102 0 21 delete $params{'unique'} || undef
169 0 0 delete $params{'data'} || undef
170 0 0 delete $params{'unique'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
57 0 2 0 ref $ref || $ref
99 21 0 0 delete $params{'class'} || croak('need class')
100 21 0 0 delete $params{'method'} || croak('need method')
119 0 0 18 not ref $ref_to_frozen_retval or ref $ref_to_frozen_retval ne 'SCALAR'
167 0 0 0 delete $params{'class'} || croak('need class')
168 0 0 0 delete $params{'method'} || croak('need method')