| line |
true |
false |
branch |
|
62
|
0 |
6 |
if ($current->{'is_obsolete'} and $current->{'is_relationshiptype'}) |
|
66
|
0 |
81 |
unless (defined $current->{'name'}) |
|
71
|
0 |
81 |
unless (defined $current->{'id'}) |
|
76
|
12 |
69 |
unless ($current->{'id'} =~ /:/) |
|
78
|
6 |
6 |
if ($current->{'xref'}) |
|
80
|
2 |
4 |
if ($xref =~ /^RO:/) |
|
87
|
0 |
4 |
if ($xref =~ /^BFO:/) |
|
96
|
6 |
75 |
if ($current->{'is_obsolete'}) |
|
106
|
40 |
41 |
unless (defined $current->{'namespace'}) |
|
112
|
4 |
36 |
if ($current->{'namespace'} eq "ro") |
|
119
|
48 |
33 |
if ($current->{'is_a'}) |
|
131
|
37 |
44 |
if ($current->{'synonym'}) |
|
138
|
3 |
63 |
if ($seen_synonym and lc $seen_synonym->{'scope'} eq 'exact') { } |
|
176
|
0 |
13 |
unless (defined $filename) |
|
181
|
0 |
13 |
unless (defined $ontology_data) |
|
193
|
0 |
13 |
unless open my $fh, "<:utf8", $filename |
|
204
|
87 |
812 |
if length $line == 0 |
|
206
|
81 |
731 |
if ($line =~ /^\[(.*)\]$/) { } |
|
209
|
68 |
13 |
if (defined $current) |
|
215
|
14 |
67 |
if ($stanza_type eq 'Typedef') { } |
|
218
|
0 |
67 |
if ($stanza_type ne "Term") |
|
227
|
622 |
109 |
if ($current) { } |
|
229
|
622 |
0 |
if (@bits == 2) { } |
|
236
|
2 |
620 |
if ($field_value =~ /\}$/) |
|
244
|
487 |
135 |
if (defined $field_conf) |
|
245
|
240 |
247 |
if (defined $field_conf->{'process'}) |
|
249
|
0 |
240 |
if ($@) |
|
253
|
486 |
1 |
if (defined $field_value) |
|
254
|
294 |
192 |
if (defined $field_conf->{'type'} and $field_conf->{'type'} eq 'SINGLE' || $field_conf->{'type'} eq 'SINGLE_HASH') { } |
|
267
|
109 |
0 |
if ($line =~ /^(.+?):\s*(.*)/) { } |
|
270
|
40 |
69 |
if ($interesting_metadata{$key}) |
|
271
|
0 |
40 |
if (defined $metadata{$key}) { } |
|
284
|
13 |
0 |
if (defined $current) |
|
288
|
0 |
13 |
unless close $fh |
|
294
|
0 |
13 |
if ($@) |