Branch Coverage

blib/lib/Bio/Tools/EUtilities/Link/LinkSet.pm
Criterion Covered Total %
branch 37 58 63.7


line true false branch
29 50 52 unless ($self->{'_sorted_id'})
60 59 108 if $self->{'_dbto'} and not $tmp{$self->{'_dbto'}}++
77 10 16 if ($self->{'_linkname'})
94 16 10 if ($datatype eq 'idcheck' or $datatype eq 'urllink') { }
10 0 elsif ($self->{'_submitted_ids'}) { }
106 4 24 exists $self->{'_has_scores'} ? :
114 0 2 unless $self->has_scores
122 0 0 $id && exists $self->{'_id'}{$id} ? :
129 4 22 if (exists $self->{'_haslinkout'}) { }
130 2 2 $self->{'_haslinkout'} eq 'Y' ? :
132 2 20 grep({$_ eq 'LinkOut';} $self->get_databases) ? :
139 4 22 if (exists $self->{'_hasneighbor'}) { }
140 4 0 $self->{'_hasneighbor'} eq 'Y' ? :
149 0 0 unless ($self->{'_urllinks_it'})
159 2 24 ref $self->{'_urllinks'} ? :
165 0 0 unless ($self->{'_linkinfo_it'})
175 42 177 ref $self->{'_linkinfo'} ? :
187 0 0 if (exists $VALID_DATA{$arg}) { }
0 0 elsif ($arg eq 'all') { }
209 192 58 unless exists $data->{$key}
215 16 8 if ($self->datatype eq 'idcheck' and exists $data->{'content'})
226 18 0 if (exists $data->{'IdList'}{'Id'})
235 10 16 if (exists $data->{'Link'}) { }
16 0 elsif (exists $data->{'Id'}) { }
238 12 14 if (exists $link->{'Score'}) { }
254 6 0 if exists $data->{'DbFrom'}
267 116 0 if exists $data->{'DbFrom'}
298 0 0 unless @content
310 0 0 if ($self->has_scores)