Branch Coverage

blib/lib/Queue/Priority.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
56 0 2 unless defined $max and $max > 0
124 1 406 unless defined $item
125 1 405 if $self->is_shutdown
126 1 404 if $self->is_full
133 21 383 $idx == 0 ? :
140 46 293 $idx == 0 ? :
156 0 404 if $self->is_shutdown or $self->is_empty
174 339 870 if $l > $last and $r > $last
178 60 810 if ($r > $last) { }
182 445 365 $arr->[$l] <= $arr->[$r] ? :
185 805 65 if ($arr->[$idx] > $arr->[$least]) { }
213 0 0 unless defined $self->peek($idx)
215 0 0 if ($indent > 0)