Branch Coverage

blib/lib/Crixa/Queue.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
56 8 0 if $self->_has_name
65 12 8 if $passive
84 2 4 ref $_[0] ? :
0 6 @_ > 1 ? :
94 1 18 unless defined $msg
110 0 2 ref $_[0] ? :
0 2 @_ > 1 ? :
120 8 0 ref $_[0] ? :
0 8 @_ > 1 ? :
133 8 0 ref $_[0] ? :
0 8 @_ > 1 ? :
142 0 3 ref $_[0] ? :
1 3 @_ > 1 ? :
148 5 8 $timeout ? :
149 4 9 unless &$cb($self->_inflate_message($raw))