Condition Coverage

blib/lib/Bio/Phylo/Treedrawer.pm
Criterion Covered Total %
condition 17 55 30.9


and 3 conditions

line !l l&&!r l&&r condition
212 0 0 3 &looks_like_number($width) and $width > 0
236 0 0 3 &looks_like_number($height) and $height > 0
310 0 0 1 &looks_like_number($padding) and $padding > 0
387 0 0 1 &looks_like_number($width) and $width > 0
461 0 0 2 @_ and not scalar @_ % 2
0 0 0 scalar @_ == 1 and ref $_[0] eq 'HASH'
463 2 0 0 scalar @_ == 1 and ref $_[0] eq 'HASH'
554 0 0 0 &looks_like_number($width) and $width > 0
578 0 0 2 &looks_like_number($radius) and $radius >= 0
602 0 0 0 &looks_like_number($width) and $width > 0
626 0 0 0 &looks_like_number($width) and $width >= 0
650 0 0 0 &looks_like_number($radius) and $radius >= 0
1227 12 2 3 not $phylo and $node->is_terminal

or 2 conditions

line l !l condition
1191 8 6 $parent->get_x || 0
1192 10 0 $node->get_branch_length || 0

or 3 conditions

line l !l&&r !l&&!r condition
461 2 0 0 @_ and not scalar @_ % 2 or scalar @_ == 1 and ref $_[0] eq 'HASH'
479 0 2 0 &looks_like_number($o{'-width'}) or $o{'-width'} =~ /^\d+%$/
487 0 2 0 &looks_like_number($o{'-major'}) or $o{'-major'} =~ /^\d+%$/
495 0 2 0 &looks_like_number($o{'-minor'}) or $o{'-minor'} =~ /^\d+%$/