| line |
true |
false |
branch |
|
158
|
234 |
2321 |
if defined $identifier |
|
159
|
286 |
2269 |
if defined $name |
|
160
|
15 |
2540 |
if defined $definition |
|
161
|
0 |
2555 |
if defined $category |
|
162
|
20 |
2535 |
if defined $ont |
|
163
|
2 |
2553 |
if defined $version |
|
164
|
2 |
2553 |
if defined $is_obsolete |
|
165
|
11 |
2544 |
if defined $comment |
|
166
|
10 |
2545 |
if defined $dbxrefs |
|
168
|
0 |
2555 |
if ref $dblinks |
|
169
|
1 |
2554 |
if ref $references |
|
210
|
5059 |
10026 |
if @_ |
|
230
|
3881 |
11877 |
if @_ |
|
250
|
3150 |
62 |
if @_ |
|
279
|
4267 |
3655 |
if (@_) |
|
281
|
1710 |
2557 |
if ($ont) |
|
282
|
26 |
1684 |
unless ref $ont |
|
283
|
0 |
1710 |
unless ($ont->isa('Bio::Ontology::OntologyI')) |
|
308
|
4 |
5 |
if @_ |
|
327
|
2581 |
67 |
if @_ |
|
347
|
2615 |
57 |
if @_ |
|
364
|
2034 |
2555 |
if exists $self->{'_synonyms'} |
|
384
|
193 |
326 |
unless @values |
|
388
|
2 |
337 |
if grep {$_ eq $syn;} @{$$self{'_synonyms'};} |
|
457
|
0 |
2568 |
if (defined $context) { } |
|
458
|
0 |
0 |
if (exists $self->{'_dblinks'}{$context}) |
|
545
|
0 |
809 |
unless defined $links |
|
547
|
0 |
809 |
if ref $links ne 'ARRAY' |
|
549
|
0 |
503 |
unless ref $dbxref and $dbxref->isa('Bio::Annotation::DBLink') |
|
551
|
0 |
503 |
if $context eq 'all' |
|
552
|
494 |
9 |
unless (exists $self->{'_dblinks'}{$context}) |
|
555
|
503 |
0 |
ref $dbxref ? : |
|
556
|
0 |
503 |
if (grep {$_->display_text eq $linktext;} @{$$self{'_dblinks'}{$context};}) |
|
601
|
0 |
0 |
unless defined $value |
|
603
|
0 |
0 |
if $context eq 'all' |
|
605
|
0 |
0 |
if ($self->{'_dblinks'}{$context} and grep {$_->display_text eq $value;} @{$$self{'_dblinks'}{$context};}) { } |
|
670
|
0 |
2559 |
if $context and $context eq 'all' |
|
672
|
0 |
2559 |
if (defined $context) { } |
|
692
|
3 |
2555 |
if exists $self->{'_references'} |
|
708
|
1 |
0 |
unless @values |
|
711
|
0 |
0 |
unless ref $reference and $reference->isa('Bio::AnnotationI') |
|
713
|
0 |
0 |
unless defined $reference |
|
714
|
0 |
0 |
if grep {$_ eq $reference;} @{$$self{'_references'};} |
|
753
|
12 |
2555 |
if exists $self->{'_secondary_ids'} |
|
773
|
221 |
10 |
unless @_ |
|
777
|
8 |
0 |
unless not $_ |
|
|
1 |
11 |
if grep {$_ eq $id unless not $_;} @{$$self{'_secondary_ids'};} |
|
810
|
0 |
0 |
unless (not $value =~ /\D/ and $value == 1 || $value == 0) |
|
858
|
0 |
0 |
if $ont |
|
859
|
0 |
0 |
if @_ |
|
886
|
10 |
1891 |
if @_ |
|
888
|
201 |
1700 |
defined $ont ? : |