Branch Coverage

blib/lib/Coro/PriorityQueue.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
14 0 4 unless defined $max and $max > 0
52 0 20 unless defined $item
56 1 18 if $self->is_shutdown
63 3 15 $idx == 0 ? :
70 0 6 $idx == 0 ? :
84 1 14 if $self->is_shutdown and $self->is_empty
101 11 16 if $l > $last and $r > $last
104 5 11 if ($r > $last) { }
107 6 5 $$arr[$l] <= $$arr[$r] ? :
110 13 3 if ($$arr[$idx] > $$arr[$least]) { }
132 0 0 unless defined $self->peek($idx)
134 0 0 if ($indent > 0)