Condition Coverage

Bio/Tree/Statistics.pm
Criterion Covered Total %
condition 28 65 43.0


and 3 conditions

line !l l&&!r l&&r condition
166 10 0 12 $descs[0]->is_Leaf and $descs[1]->is_Leaf
575 24 1 15 not $child->is_Leaf and $sub_len

or 2 conditions

line l !l condition
806 2 0 shift() || die('Trait name is needed')

or 3 conditions

line l !l&&r !l&&!r condition
161 21 1 0 shift() || $tree->get_root_node
230 0 0 0 shift() || $self->throw('Trait name is needed')
231 0 0 0 shift() || $tree->get_root_node
285 46 0 0 shift() || $self->throw('Trait name is needed')
286 45 1 0 shift() || $tree->get_root_node
352 14 1 0 shift() || $tree->get_root_node
402 18 0 0 shift() || $self->throw('Value is needed')
423 4 0 0 shift() || $tree->get_root_node
455 22 0 0 shift() || $self->throw('Value is needed')
479 4 0 0 shift() || $tree->get_root_node
508 204 0 0 shift() || $tree->get_root_node
532 6 0 0 shift() || $tree->get_root_node
583 5 0 0 shift() || $tree->get_root_node
632 7 0 0 shift() || $tree->get_root_node
659 2 0 0 shift() || $tree->get_root_node
686 1 0 0 shift() || $tree->get_root_node
742 2 0 0 shift() || $self->throw('Trait name is needed')
743 1 1 0 shift() || $tree->get_root_node
807 1 1 0 shift() || $tree->get_root_node