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
213 0 0 3 &looks_like_number($width) and $width > 0
237 0 0 3 &looks_like_number($height) and $height > 0
311 0 0 1 &looks_like_number($padding) and $padding > 0
388 0 0 1 &looks_like_number($width) and $width > 0
462 0 0 2 @_ and not scalar @_ % 2
0 0 0 scalar @_ == 1 and ref $_[0] eq 'HASH'
464 2 0 0 scalar @_ == 1 and ref $_[0] eq 'HASH'
555 0 0 0 &looks_like_number($width) and $width > 0
579 0 0 2 &looks_like_number($radius) and $radius >= 0
603 0 0 0 &looks_like_number($width) and $width > 0
627 0 0 0 &looks_like_number($width) and $width >= 0
651 0 0 0 &looks_like_number($radius) and $radius >= 0
1228 12 2 3 not $phylo and $node->is_terminal

or 2 conditions

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

or 3 conditions

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