Branch Coverage

Bio/Tools/Phylo/Molphy.pm
Criterion Covered Total %
branch 40 46 86.9


line true false branch
164 1 81 if (/^Relative Substitution Rate Matrix/) { }
2 79 elsif (/^Transition Probability Matrix/) { }
1 78 elsif (/Acid Frequencies/) { }
2 76 elsif (m[^(\d+)\s*/\s*(\d+)\s+(.+)\s+model]) { }
65 11 elsif ($state == 1) { }
10 1 elsif ($state == 2) { }
165 0 1 if (%subst_matrix)
173 1 20 if /^\s+$/
180 20 380 if ($l =~ /\D+/)
191 20 380 if ($i == $j) { }
202 2 0 if (/(1\.0e(5|7))\)\s+(\S+)/)
206 1 1 if (defined $trans_type)
226 1 20 unless (/^\s+/)
247 0 2 if (defined $treenum)
256 4 61 if /^\s+$/ or /^\s+Ala/
259 40 21 if ($trans_type eq '1PAM-1.0e7') { }
21 0 elsif ($trans_type eq '1PAM-1.0e5') { }
262 2 38 if $transition_ct % 20 == 0
266 1 20 if $transition_ct >= 20
270 5 5 if (s/^(\d+)\s+(\-?\d+(\.\d+)?)\s+//)
280 2 0 if (@treelines)
285 5 5 if (@treedata)
294 0 2 unless $parsed