Condition Coverage

blib/lib/No/Worries/PidFile.pm
Criterion Covered Total %
condition 5 16 31.2


and 3 conditions

line !l l&&!r l&&r condition
169 1 0 0 $option{'freshness'} and $stat[9] < &Time::HiRes::time() - $option{'freshness'}

or 2 conditions

line l !l condition
300 1 0 $option{'callback'} ||= sub { printf "%s\n", $_[0]; }
301 0 1 $option{'linger'} ||= 5

or 3 conditions

line l !l&&r !l&&!r condition
194 0 2 0 $option{'pid'} ||= $$
213 0 2 0 $option{'pid'} ||= $$
274 0 0 0 $status or &Time::HiRes::time() > $maxtime