Condition Coverage

blib/lib/Centrifugo/Client.pm
Criterion Covered Total %
condition 4 21 19.0


and 3 conditions

line !l l&&!r l&&r condition
75 1 0 0 $params{'debug'} && uc $params{'debug'} ne 'FALSE'
140 0 0 1 $body and ref $body eq 'HASH'
0 0 1 $body and ref $body eq 'HASH' and $body->{'client'}

or 3 conditions

line l !l&&r !l&&!r condition
114 0 1 0 $PARAMS{'uid'} || _generate_random_id()
204 0 0 0 $PARAMS{'uid'} || _generate_random_id()
246 0 0 0 $PARAMS{'uid'} || _generate_random_id()
306 0 0 0 $PARAMS{'uid'} || _generate_random_id()