line |
true |
false |
branch |
176
|
0 |
2 |
if (exists $args{'objectFile'}) { } |
|
2 |
0 |
elsif (exists $args{'ontologyFile'}) { } |
205
|
0 |
2 |
if (not -e $file) { } |
|
0 |
2 |
elsif (-d $file) { } |
|
0 |
2 |
elsif (not -r $file) { } |
|
0 |
2 |
elsif (not $file =~ /\.obo/) { } |
223
|
0 |
2 |
unless (defined $aspect) |
229
|
0 |
2 |
unless (exists $kAspects{$aspect}) |
285
|
2 |
428184 |
if /^\[Typedef\]/ |
287
|
45858 |
382326 |
if ($_ eq '[Term]') { } |
|
25808 |
356518 |
elsif ($_ eq "namespace: $aspect") { } |
|
2024 |
354494 |
elsif ($_ eq 'is_obsolete: true') { } |
291
|
25108 |
20750 |
if ($isValidEntry) |
334
|
2 |
0 |
if ($namespace eq $aspect and $isValidEntry) |
340
|
0 |
2 |
unless $ontologyFh->close |
369
|
2 |
25108 |
if (scalar @{$parentGoidArrayRef;} == 0) |
420
|
25110 |
159094 |
if ($line =~ /^id: *(GO:0*[0-9]+)$/) { } |
|
25110 |
133984 |
elsif ($line =~ /^name: *(.+)$/) { } |
|
696 |
133288 |
elsif ($line =~ /^alt_id: *(GO:0*[0-9]+)$/) { } |
|
43284 |
90004 |
elsif ($line =~ /^(is_a:|relationship: part_of) *(GO:0*[0-9]+)/) { } |
444
|
0 |
25110 |
unless ($goid) |
468
|
0 |
25112 |
if ($self->__nodeIsAlreadyCreated($goid)) { } |
572
|
43284 |
2 |
if (exists $$self{$kParent}{$parentGoid}) { } |
623
|
2384366 |
624130 |
if (exists $$self{$kParent}{$ancestorGoid}) { } |
728
|
170351 |
208 |
if (exists $$self{$kNodes}{$goid}) { } |
|
0 |
208 |
elsif (exists $$self{$kSecondaryIds}{$goid}) { } |
789
|
0 |
0 |
if (exists $args{'filename'}) { } |
797
|
0 |
0 |
unless ($fileName =~ /\.obj$/) |
805
|
0 |
0 |
unless nstore($self, $fileName) |