Condition Coverage

blib/lib/Alarm/Queued.pm
Criterion Covered Total %
condition 2 29 6.9


and 3 conditions

line !l l&&!r l&&r condition
307 0 0 0 $index < @Alarm::Queued::ALARM_QUEUE && $index > -1
333 0 1 0 defined $SIG{'ALRM'} and $SIG{'ALRM'} == \&_alrm
337 1 0 0 $oldalrm and shift()

or 2 conditions

line l !l condition
209 0 0 shift() || 0
210 0 0 shift() || 1
218 0 0 shift(@Alarm::Queued::ALARM_QUEUE)->[2] || \&default_handler
305 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
148 0 0 0 shift(@Alarm::Queued::ALARM_QUEUE)->[2] || $Alarm::Queued::DEFAULT_HANDLER
154 0 0 0 shift(@Alarm::Queued::ALARM_QUEUE)->[2] || $Alarm::Queued::DEFAULT_HANDLER
184 0 0 0 not defined $code or UNIVERSAL::isa($code, 'CODE')
277 0 0 0 not defined $_[-1] or UNIVERSAL::isa($_[-1], 'CODE')