blib/lib/Array/Heap/ModifiablePriorityQueue.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
70 | 1 | 5 | if (my $node = $$self{'items'}{$item}) { } |
90 | 0 | 1 | unless my $node = $$self{'heap'}[0] |
105 | 0 | 3 | unless my $node = pop_heap_idx(@{$$self{'heap'};}) |
120 | 1 | 1 | unless my $node = delete $$self{'items'}{$item} |
132 | 1 | 2 | unless my $node = $$self{'items'}{$item} |
180 | 1 | 4 | if (my $node = $$self{'items'}{$item}) { } |
200 | 1 | 2 | unless my $node = delete $$self{'items'}{$item} |
203 | 1 | 1 | if ($last != $node) |