Condition Coverage

blib/lib/Coro/SemaphoreSet.pm
Criterion Covered Total %
condition 0 18 0.0


or 2 conditions

line l !l condition
133 0 0 $_[0][1]{$_[1]} || (return $_[0][0])
144 0 0 $_[0][1]{$_[1]} || (return)
154 0 0 $_[0][1]{$_[1]} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
62 0 0 0 $_[0][1]{$_[1]} ||= Coro::Semaphore::_alloc($_[0][0])
103 0 0 0 $self->[1]{$id} ||= Coro::Semaphore::_alloc($self->[0])
120 0 0 0 $_[0][1]{$_[1]} ||= $_[0][0] > 0 ? Coro::Semaphore::_alloc($_[0][0]) : (return 0)
189 0 0 0 $_[0][1]{$_[1]} ||= Coro::Semaphore::_alloc($_[0][0])