line |
true |
false |
branch |
103
|
6 |
85 |
if (defined $existing_term) |
104
|
4 |
2 |
unless (grep {$_ == $existing_term;} @found_existing_terms) |
110
|
0 |
72 |
if (@found_existing_terms > 1) { } |
116
|
4 |
68 |
if (@found_existing_terms == 1) |
119
|
4 |
0 |
unless ($term->is_obsolete or $existing_term->is_obsolete) |
124
|
2 |
2 |
if ($old_namespace ne $existing_term->namespace) |
147
|
60 |
0 |
if ($def_dbxref =~ /^(.+?):(.*)/) { } |
158
|
13 |
0 |
if ($xref =~ /^(.+?):(.*)/) { } |
168
|
72 |
0 |
if (defined $name) { } |
169
|
68 |
4 |
unless (exists $terms_by_name->{$name} and grep {$_ == $term;} @{$$terms_by_name{$name};}) |
180
|
72 |
0 |
if (defined $term_namespace) |
182
|
0 |
72 |
if ($existing_term_by_name and $existing_term_by_name != $term) { } |
190
|
10 |
62 |
if ($term->{'is_relationshiptype'}) |
194
|
12 |
60 |
unless (exists $metadata_by_namespace->{$term_namespace}) |
199
|
72 |
0 |
if ($term->{'relationship'}) |
281
|
2 |
4 |
if ($self->{'_relationships'}) |
290
|
0 |
32 |
if (not $object_term) { } |
318
|
0 |
3 |
if (@relationships == 0) |
325
|
0 |
4 |
if (scalar keys %{$self->terms_by_cv_name->{$_};} == 0) { } |