blib/lib/OBO/Parser/NCBIParser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 18 | 72.2 |
line | true | false | branch |
---|---|---|---|
52 | 0 | 2 | if @_ < 1 |
58 | 1 | 1 | if ($name_type) { } |
62 | 10 | 12 | if ($fields[3] eq "\t$name_type") |
125 | 0 | 4 | unless my $child = $map{$ncbi_id} |
126 | 0 | 4 | unless my $parent = $map{$selected_nodes{$ncbi_id}} |
127 | 3 | 1 | if $ncbi_id != 1 |
129 | 0 | 1 | unless my $root = $ontology->get_term_by_id('NCBI:1') |
142 | 0 | 4 | unless caller eq 'OBO::Parser::NCBIParser' |
153 | 3 | 1 | if $child_id != 1 |