Branch Coverage

GO/Parsers/ncbi_taxonomy_parser.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
108 117 879 if ($line eq '//') { }
114 879 0 if ($line =~ /^([\w\s\-]+)\s+:\s*(.*)/) { }
142 0 117 unless ($id)
150 114 3 unless $$h{'genbank common name'}
151 0 117 unless ($name)
153 0 0 if $gname
155 0 117 if ($$self{'name_h'}{$name})
162 1502 253 unless $syns
166 56 222 if ($s =~ /\"(.+)\"\s*(.+)/ or $s =~ /\'(.+)\'\s*(.+)/)
184 1 116 if ($rank eq 'no rank')
187 116 1 if ($rank)
188 5 111 unless ($$self{'__rank'}{$rank})
197 116 0 if $rank
207 117 0 if $gc
209 116 1 if ($parent_id)