Branch Coverage

blib/lib/Bio/Das/Request/Features.pm
Criterion Covered Total %
branch 65 114 57.0


line true false branch
40 0 2 if $scallback
41 2 0 if defined $das
50 2 3 if @_
59 2 2 if ($attrs)
72 3 3 if ($attrs) { }
93 0 3 if ($self->segment_callback) { }
95 0 0 if $@
112 0 204 unless my $group = $feature->group
113 0 204 if $feature->parent_id
114 0 204 if $feature->child_ids > 0
118 63 141 unless ($inferred_parents{$group})
136 0 204 if $feature->start < $p->start
137 141 63 if $feature->stop > $p->stop
154 204 63 if (defined $parent_id and my $parent = $id_to_feature{$parent_id}) { }
167 0 2 if $$self{'tmp'}{'current_segment'}
184 204 204 if ($attrs) { }
188 0 204 if exists $$attrs{'label'}
197 0 204 unless ($cft->complete)
200 0 0 if $cft->method and not $cft->id
201 0 0 if $cft->id and not $cft->method
204 0 204 if (my $callback = $self->callback) { }
215 0 408 unless my $feature = $$self{'tmp'}{'current_feature'}
219 204 204 if ($attrs) { }
221 204 0 if $$attrs{'category'}
222 0 204 if $$attrs{'reference'} and $$attrs{'reference'} eq 'yes'
223 0 204 if $$attrs{'subparts'} and $$attrs{'subparts'} eq 'yes'
224 0 204 if $$attrs{'superparts'} and $$attrs{'superparts'} eq 'yes'
228 0 204 if (my $label = $self->char_data)
240 0 408 unless my $feature = $$self{'tmp'}{'current_feature'}
243 204 204 if ($attrs) { }
250 204 0 if (my $label = $self->char_data)
254 204 0 if ($cft->complete)
265 0 0 unless my $feature = $$self{'tmp'}{'current_feature'}
266 0 0 if $attrs
272 0 0 unless my $feature = $$self{'tmp'}{'current_feature'}
273 0 0 if $attrs
279 0 408 unless my $feature = $$self{'tmp'}{'current_feature'}
280 204 204 unless $attrs
286 0 408 unless my $feature = $$self{'tmp'}{'current_feature'}
287 204 204 unless $attrs
293 0 408 unless my $feature = $$self{'tmp'}{'current_feature'}
294 204 204 unless $attrs
300 0 408 unless my $feature = $$self{'tmp'}{'current_feature'}
301 204 204 unless $attrs
307 0 408 unless my $feature = $$self{'tmp'}{'current_feature'}
308 204 204 unless $attrs
314 0 408 unless my $feature = $$self{'tmp'}{'current_feature'}
315 204 204 if ($attrs)
325 0 408 unless my $feature = $$self{'tmp'}{'current_feature'}
326 204 204 if ($attrs) { }
336 0 0 unless my $feature = $$self{'tmp'}{'current_feature'}
337 0 0 if ($attrs) { }
338 0 0 if exists $$attrs{'tag'}
347 0 340 unless my $feature = $$self{'tmp'}{'current_feature'}
348 170 170 if ($attrs) { }
365 0 3 unless my(%r) = $self->SUPER::results
368 1 2 if wantarray