blib/lib/OBO/Parser/NCBIParser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
49 | 0 | 2 | if @_ < 1 |
53 | 1 | 1 | if ($name_type) { } |
57 | 10 | 12 | if ($fields[3] eq "\t$name_type") |
121 | 0 | 4 | unless my $child = $map{$ncbi_id} |
122 | 0 | 4 | unless my $parent = $map{$selected_nodes{$ncbi_id}} |
123 | 3 | 1 | if $ncbi_id != 1 |
125 | 0 | 1 | unless my $root = $ontology->get_term_by_id('NCBI:1') |
142 | 3 | 1 | if $child_id != 1 |