| Bio/Tree/Tree.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 39 | 51.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 142 | 1433 | 0 | 252 | $node and not $root |
| 143 | 0 | 0 | 252 | ref $node and $node->isa('Bio::Tree::NodeI') |
| 261 | 0 | 1464 | 0 | defined $value and not $value->isa('Bio::Tree::NodeI') |
| 422 | 0 | 1 | 0 | defined $tag and scalar @values |
| 444 | 0 | 2 | 0 | defined $tag and defined $value |
| line | l | !l | condition |
|---|---|---|---|
| 161 | 2 | 1683 | $nodel || 0 |
| 203 | 1491 | 826 | $order ||= 'depth' |
| 204 | 1508 | 809 | $sortby ||= 'none' |
| 302 | 573 | 8 | $_->branch_length || 0 |
| 385 | 42 | 0 | shift() || 'tabtree' |
| 386 | 5 | 37 | shift() || {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 145 | 252 | 0 | 0 | shift @lineage || $node |
| 298 | 1 | 19 | 0 | shift() || $tree->get_root_node |
| 556 | 0 | 0 | 0 | $parent ||= $self->get_root_node |
| 557 | 0 | 0 | 0 | $parent_clone ||= $self->_clone_node($parent) |