| line |
true |
false |
branch |
|
184
|
15 |
13 |
unless $self->apph |
|
198
|
0 |
0 |
if ($val_ref =~ /HASH/i) { } |
|
|
0 |
0 |
elsif ($val_ref =~ /ARRAY/i) { } |
|
237
|
0 |
8 |
ref $arg ? : |
|
239
|
1 |
7 |
if ($$h{'acc'}) |
|
263
|
0 |
0 |
unless (ref $sub) |
|
266
|
0 |
0 |
if (!ref($sub) eq 'CODE') |
|
299
|
0 |
5 |
unless (ref $sub) |
|
302
|
0 |
5 |
if (!ref($sub) eq 'CODE') |
|
311
|
4 |
338 |
if (&$sub($ni)) |
|
338
|
0 |
5 |
unless (ref $constr) |
|
347
|
0 |
5 |
if ($v =~ m[^/.*/$]) { } |
|
354
|
0 |
5 |
if ('GO::Model::Term'->new->can($_ . '_list')) { } |
|
417
|
0 |
1 |
if ($partial) |
|
424
|
4 |
1 |
if $rel |
|
427
|
0 |
5 |
if $done{$t->acc} |
|
457
|
12 |
0 |
if (not $order) { } |
|
489
|
0 |
5216 |
if (ref $acc) |
|
490
|
0 |
0 |
if (ref $acc eq 'HASH') { } |
|
522
|
0 |
1 |
if (!@terms > 1) |
|
569
|
2 |
5 |
if ($$self{'_top_nodes'}) |
|
578
|
302 |
10 |
if ($node) |
|
582
|
8 |
282 |
unless (@parent_nodes) |
|
605
|
0 |
0 |
if ($$self{'_leaf_nodes'}) |
|
611
|
0 |
0 |
unless (@$child_rels) |
|
660
|
0 |
0 |
if @_ |
|
685
|
0 |
0 |
if @_ |
|
701
|
0 |
0 |
unless $self->focus_nodes |
|
|
0 |
0 |
if (grep {$_->acc eq $term->acc;} @{[] unless $self->focus_nodes;}) |
|
722
|
0 |
0 |
if (not $self->is_focus_node($term)) |
|
792
|
4 |
8 |
if (not @$parent_rels) { } |
|
799
|
0 |
10 |
if (not $parent) { } |
|
850
|
0 |
0 |
if ($term) { } |
|
902
|
0 |
0 |
if (ref $acc) |
|
903
|
0 |
0 |
if (ref $acc eq 'HASH') |
|
908
|
0 |
0 |
unless $self->get_child_terms($acc) |
|
909
|
0 |
0 |
if (@tl) |
|
920
|
0 |
0 |
unless (defined $$self{'n_children_h'}{$acc}) |
|
923
|
0 |
0 |
unless $term |
|
949
|
0 |
0 |
if (ref $acc) |
|
950
|
0 |
0 |
if (ref $acc eq 'HASH') |
|
955
|
0 |
0 |
unless (defined $$self{'n_parents_h'}{$acc}) |
|
958
|
0 |
0 |
unless $term |
|
985
|
829 |
1014 |
unless ($term) |
|
1008
|
829 |
0 |
if ref $acc |
|
1030
|
728 |
286 |
unless $self->association_list($acc) |
|
1031
|
0 |
872 |
unless $self->deep_association_list($_->acc) |
|
1032
|
0 |
1014 |
unless $self->get_child_terms($acc) |
|
1059
|
0 |
0 |
unless ($ph{$gp->xref->as_str}) |
|
1090
|
16 |
70 |
unless ($ph{$gp->xref->as_str}) |
|
1164
|
0 |
614 |
if (ref $acc and $acc->isa('GO::Model::Term')) |
|
1198
|
0 |
1618 |
if (ref $acc and $acc->isa('GO::Model::Term')) |
|
1483
|
0 |
13 |
if (ref $acc and $acc->isa('GO::Model::Term')) |
|
1487
|
6 |
7 |
$relkind eq 'child' ? : |
|
1491
|
0 |
13 |
if ($type) |
|
1506
|
0 |
13 |
if ($refl) |
|
1530
|
1 |
1129 |
if (ref $acc and $acc->isa('GO::Model::Term')) |
|
1534
|
1029 |
101 |
$relkind eq 'child' ? : |
|
1538
|
1 |
1129 |
if ($type) |
|
1547
|
994 |
18 |
if ($t) |
|
1685
|
0 |
0 |
if (ref $node) { } |
|
1686
|
0 |
0 |
if (ref $node eq 'ARRAY') { } |
|
|
0 |
0 |
elsif ($node->isa('GO::Model::Term')) { } |
|
1701
|
0 |
0 |
unless ($n->acc eq $acc) |
|
1705
|
0 |
0 |
$if_no_parent_to_delete ? : |
|
1728
|
0 |
0 |
if (not $p_acc or $par_acc and $par_acc eq $p_acc) { } |
|
1736
|
0 |
0 |
unless $other_p |
|
1745
|
0 |
0 |
unless ($other_p) |
|
1751
|
0 |
0 |
unless $other_p |
|
1754
|
0 |
0 |
unless ($other_p) |
|
1769
|
0 |
0 |
unless ($path and $path->term_list) |
|
1772
|
0 |
0 |
if ($path->length < 2) |
|
1799
|
3 |
94 |
unless (@$ps) |
|
1825
|
0 |
0 |
unless ($prod_index[$p->id]) |
|
1866
|
0 |
0 |
if (not defined $h{$k} or $h{$k} > $rh{$k}) |
|
1891
|
0 |
0 |
if ($self->get_term($t->acc)) { } |
|
1897
|
0 |
0 |
unless $g2->focus_nodes |
|
1912
|
0 |
0 |
unless $self->get_parent_relationships($term->acc) |
|
1919
|
0 |
0 |
if ($_->is_inheritance) { } |
|
1938
|
0 |
0 |
@parents ? : |
|
|
0 |
0 |
@lisp_isa ? : |
|
|
0 |
0 |
@lisp_partof ? : |
|
1951
|
0 |
0 |
if (ref $$arr[$i]) { } |
|
1970
|
0 |
0 |
if $done{$term->acc} |
|
1978
|
0 |
0 |
unless ($include and $$include{'-assocs'}) |
|
2008
|
0 |
0 |
if ($format eq 'png') { } |
|
|
0 |
0 |
elsif ($format eq 'go_ont') { } |
|
2082
|
0 |
1420 |
unless (ref $term) |
|
2085
|
6 |
1414 |
if (ref $term eq 'HASH') |
|
2090
|
0 |
1420 |
unless $acc |
|
2127
|
1 |
742 |
if (ref $rel eq 'HASH') |
|
2130
|
5 |
738 |
if (UNIVERSAL::isa($rel, 'GO::Model::Relationship')) { } |
|
2134
|
1 |
737 |
if (ref $from_id) |
|
2135
|
0 |
1 |
if (UNIVERSAL::isa($from_id, 'GO::Model::Term')) |
|
2137
|
0 |
0 |
if ($term1->acc) { } |
|
2145
|
0 |
738 |
if (ref $to_id) |
|
2146
|
0 |
0 |
if (UNIVERSAL::isa($to_id, 'GO::Model::Term')) |
|
2148
|
0 |
0 |
if ($term2->acc) { } |
|
2156
|
0 |
738 |
unless $from_id |
|
2157
|
0 |
738 |
unless $to_id |
|
2170
|
0 |
743 |
unless $rel->acc1 |
|
2171
|
0 |
743 |
unless $rel->acc2 |
|
2207
|
311 |
432 |
unless ($$self{'child_relationships_h'}{$rel->acc1}) |
|
2213
|
632 |
111 |
unless ($$self{'parent_relationships_h'}{$rel->acc2}) |
|
2225
|
0 |
0 |
if (ref $acc) |
|
2230
|
0 |
0 |
unless $_->property_list |
|
2236
|
0 |
0 |
unless $_->property_list |
|
2243
|
0 |
0 |
if @_ |
|
2244
|
0 |
0 |
unless $$self{'_cross_product_index'} |
|
2252
|
0 |
0 |
if (ref $xp_acc) { } |
|
2281
|
0 |
0 |
if ($xp->equals($curr_xp)) |
|
2296
|
0 |
0 |
unless $t->type eq $tt |
|
2301
|
0 |
0 |
if $xp |
|
2310
|
0 |
0 |
unless ($$self{'trailing_edges'}) |
|
2313
|
0 |
0 |
unless ($$self{'trailing_edges'}{$acc}) |
|
2347
|
0 |
0 |
if @isects == 1 |
|
2348
|
0 |
0 |
unless @isects > 1 |
|
2350
|
0 |
0 |
if (@isects) |
|
2357
|
0 |
0 |
if ($rel ne 'is_a') { } |
|
2420
|
0 |
0 |
unless ($self->is_leaf_node($term->acc)) |
|
2458
|
1 |
0 |
unless $opts |
|
2459
|
1 |
0 |
unless $it |
|
2461
|
0 |
1 |
if ($$opts{'isa_only'}) |
|
2464
|
1 |
0 |
if ($fmt eq 'gotext') { } |
|
|
0 |
0 |
elsif ($fmt eq 'tree') { } |
|
|
0 |
0 |
elsif ($fmt eq 'triples') { } |
|
2468
|
0 |
5 |
if $term->is_relationship_type |
|
2471
|
4 |
1 |
$ni->parent_rel ? : |
|
2482
|
4 |
1 |
if ($parent_rel) |
|
2484
|
0 |
4 |
if ($disp_filter) |
|
2486
|
0 |
0 |
unless ref $disp_filter |
|
2496
|
0 |
0 |
unless $n |
|
2503
|
0 |
5 |
if ($$opts{'show_counts'}) |
|
2505
|
0 |
0 |
if ($$opts{'grouped_by_taxid'}) |
|
2515
|
0 |
0 |
if ($sp and $sp->binomial) |
|
2523
|
0 |
5 |
if ($show_assocs and $self->is_focus_node($term)) |
|
2543
|
0 |
0 |
$ni->parent_rel ? : |
|
2560
|
0 |
0 |
unless $p |
|
2573
|
0 |
0 |
if $term->is_relationship_type |
|
2576
|
0 |
0 |
$self->is_focus_node($term) ? : |
|
2578
|
0 |
0 |
$ni->parent_rel ? : |
|
2586
|
0 |
0 |
if ($show_assocs and $self->is_focus_node($term)) |
|
2657
|
0 |
0 |
unless grep {$_->public_acc eq $term->public_acc;} @$terms |
|
2703
|
0 |
0 |
unless not $rel or lc $rel->type eq 'is_a' |
|
2709
|
0 |
0 |
unless ($t2) |
|
2714
|
0 |
0 |
unless ($t2) |
|
2725
|
0 |
0 |
if ($rel) |
|
2726
|
0 |
0 |
if $rel->acc1 |
|
2732
|
0 |
0 |
if ($rel) |
|
2734
|
0 |
0 |
if ($np) |
|
2765
|
0 |
0 |
unless $opts |
|
2766
|
0 |
0 |
unless $subg |