Condition Coverage

blib/lib/DDLock/Client.pm
Criterion Covered Total %
condition 5 14 35.7


and 3 conditions

line !l l&&!r l&&r condition
75 3 0 0 $sock and getpeername $sock

or 2 conditions

line l !l condition
128 1 0 $args{'servers'} || []
129 0 1 $args{'lockdir'} || ''
139 0 0 shift() || (return)
150 6 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
126 0 1 0 not exists $args{'servers'} or ref $args{'servers'} eq 'ARRAY'