Branch Coverage

blib/lib/Bio/Phylo/Treedrawer/Abstract.pm
Criterion Covered Total %
branch 31 94 32.9


line true false branch
60 10 7 $is_terminal ? :
62 0 17 if ($node->get_collapsed) { }
66 14 3 if (my $name = $node->get_name)
70 10 4 $is_terminal ? :
93 0 17 if ($node->get_clade_label)
172 0 0 if (my $value = $$f{"-$p"}) { }
177 0 0 if ($value = $node->$method)
189 0 0 if ($td->get_shape =~ /radial/i) { }
193 0 0 if (@$desc) { }
199 0 0 unless defined $radius
200 0 0 if $h1 >= $radius
220 0 0 scalar(@$ntips) / scalar(@$rtips) > 0.5 ? :
247 0 0 unless defined $x1
248 0 0 if $x >= $x1
284 0 0 if ($clado) { }
295 0 0 if $height > $tallest
323 0 0 if (my $name = $node->get_name)
361 2 1 if (my $options = $drawer->get_scale_options)
369 0 2 if ($options->{'-font'} and ref $options->{'-font'} eq 'HASH')
386 2 0 if ($width =~ /^(\d+)%$/)
389 0 2 if (my $units = $options->{'-units'})
397 2 0 if ($major =~ /^(\d+)%$/)
400 2 0 if ($minor =~ /^(\d+)%$/)
403 0 2 if ($blocks and $blocks =~ /^(\d+)%$/)
408 0 2 $options->{'-reverse'} ? :
409 0 2 $options->{'-reverse'} ? :
410 0 2 $options->{'-reverse'} ? :
427 0 2 if ($options->{'-reverse'}) { }
429 0 0 unless ($j % sprintf('%.0f', $major / $minor))
431 0 0 if ($blocks and not scalar(@maji) % 2)
441 22 80 unless ($j % sprintf('%.0f', $major / $minor))
443 0 22 if ($blocks and not scalar(@maji) % 2)
456 0 2 ref $tmpl ? :
474 0 102 unless $i % $major
485 0 2 if (@blocksi)
521 14 3 if (my $parent = $node->get_parent)
526 8 6 if ($shape =~ /CURVY/i) { }
6 0 elsif ($shape =~ /RECT/i) { }
0 0 elsif ($shape =~ /DIAG/i) { }
0 0 elsif ($shape =~ /UNROOTED/i) { }
0 0 elsif ($shape =~ /RADIAL/i) { }
568 0 0 if (my $parent = $node->get_parent)
593 0 0 if ($parent->get_rotation < $rotation)
613 0 0 if ($^O =~ /darwin/) { }
0 0 elsif ($^O =~ /linux/) { }
0 0 elsif ($^O =~ /MSWin/) { }
626 0 0 if (-e "$dir/$font.ttf")