blib/lib/Tree/Visualize/ASCII/Connectors/Diagonal/LeftRightConnector.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 16 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
18 | 0 | 0 | 7 | defined $right and ref $right |
0 | 0 | 7 | defined $right and ref $right and UNIVERSAL::isa($right, 'Tree::Visualize::ASCII::BoundingBox') | |
31 | 0 | 0 | 7 | defined $left and ref $left |
0 | 0 | 7 | defined $left and ref $left and UNIVERSAL::isa($left, 'Tree::Visualize::ASCII::BoundingBox') |
line | l | !l | condition |
---|---|---|---|
19 | 3 | 4 | $right->height - $current->height || 1 |
32 | 3 | 4 | $left->width - $current->width || 1 |