Condition Coverage

lib/Ubic/Lockf.pm
Criterion Covered Total %
condition 7 15 46.6


and 3 conditions

line !l l&&!r l&&r condition
77 53 18 350 defined $opts->{'timeout'} and not $opts->{'timeout'}

or 2 conditions

line l !l condition
40 392 29 $opts ||= {}
73 421 0 $fname ||= ''
83 0 0 $fname || ''

or 3 conditions

line l !l&&r !l&&!r condition
63 0 0 0 $fname || $fh
77 0 0 421 not $opts->{'blocking'} or defined $opts->{'timeout'} and not $opts->{'timeout'}