Branch Coverage

lib/Mojo/IOLoop/ReadWriteProcess/Shared/Semaphore.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
30 0 0 unless (defined $sem)
33 0 0 unless defined $sem
41 0 0 @_ == 1 && ref $_[0] eq 'HASH' ? :
0 0 @_ % 2 == 0 ? :
44 0 0 unless defined $args{'sem'}
45 0 0 unless defined $args{'wait'}
46 0 0 unless defined $args{'max'}
47 0 0 unless defined $args{'undo'}
52 0 0 if $args{'undo'}
54 0 0 if ($args{'wait'})
56 0 0 if $args{'max'} >= 0 and $ncnt >= $args{'max'}