| blib/lib/Tree/RB.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 29 | 50 | 58.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 83 | 7 | 0 | 3 | @_ and exists $args{'-key'} |
| 349 | 14 | 26 | 7 | $x != $self->[0] and $x->[0][3] == 0 |
| 359 | 0 | 0 | 7 | $y and $y->[3] == 0 |
| 389 | 4 | 2 | 1 | $z->[1] and $z->[2] |
| 460 | 1 | 4 | 1 | $x != $self->[0] and color_of($x) == 1 |
| 480 | 0 | 0 | 1 | color_of(&$child2($w)) == 1 and color_of(&$child1($w)) == 1 |
| line | l | !l | condition |
|---|---|---|---|
| 38 | 12 | 0 | shift() || 'min' |
| 39 | 12 | 0 | shift() || 'successor' |
| 161 | 0 | 0 | ref $cmp || 'undef' |
| 192 | 25 | 26 | shift() || 0 |
| 351 | 7 | 0 | $x->[0] || 0 |
| 7 | 0 | $x->[0][0][1] || 0 | |
| 366 | 0 | 0 | $x->[0][$child] || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 204 | 0 | 0 | 30 | $mode == 3 or $mode == 5 |
| 0 | 0 | 30 | $mode == 4 or $mode == 6 | |
| 224 | 8 | 2 | 8 | $mode == 1 or $mode == 3 |
| 8 | 0 | 0 | $mode == 2 or $mode == 4 | |
| 258 | 0 | 0 | 8 | $i < 0 or $i >= $self->[2] |
| 410 | 2 | 2 | 3 | $y->[1] || $y->[2] |