Branch Coverage

Bio/PullParserI.pm
Criterion Covered Total %
branch 60 88 68.1


line true false branch
145 0 2 if ($] < 5.008)
163 268 15470 if (@_)
166 0 15738 unless (defined $self->{'_fields'})
184 0 6 unless $desired
204 2773 432 if (exists $self->_fields->{$desired})
205 1246 1527 unless (defined $self->_fields->{$desired})
209 510 736 if ($dependency and not defined $self->_fields->{$dependency})
214 890 356 unless defined $self->_fields->{$desired}
220 400 32 if (my $parent = $self->parent)
242 254 534 if (@_)
284 218 6313 if (@_)
286 0 218 if (ref $thing eq 'GLOB') { }
14 204 elsif (ref \$thing eq 'SCALAR') { }
204 0 elsif ($thing->isa('Bio::Root::IO')) { }
290 14 0 if (not $thing =~ /\n/ and -e $thing) { }
294 0 0 if ($Bio::PullParserI::FORCE_TEMP_FILE) { }
296 0 0 unless open my $fake_fh, '+<', \$thing
314 218 0 if (@_)
319 0 218 if $Bio::PullParserI::FORCE_TEMP_FILE
330 0 218 unless ($seekable)
331 0 0 if ($piped_behaviour eq 'memory') { }
0 0 elsif ($piped_behaviour eq 'temp_file') { }
0 0 elsif ($piped_behaviour eq 'sequential_read') { }
357 98 120 if ($first_line =~ /\r\n/) { }
0 120 elsif ($first_line =~ /\r/) { }
385 0 4079 if (@_)
407 0 1514 unless $thing
408 268 1246 if (ref $thing eq 'HASH') { }
429 218 6033 if (@_)
448 218 3405 if (@_)
467 218 1108 if (@_)
489 0 937 unless defined $pos
490 0 937 if $self->_sequential
517 0 2876 if $self->_sequential
536 0 430 unless $nol > 0
544 417 758 if $count == $nol
549 428 2 $self->_chunk_true_end ? :
301 129 if (not $current or $self->_chunk_true_end ? $end <= $self->_chunk_true_end : 1)
579 845 19 $self->_chunk_true_end ? :
612 253 if (not $current or $self->_chunk_true_end ? $end <= $self->_chunk_true_end : 1)
605 0 243 if $self->_sequential
616 220 23 $self->_chunk_true_end ? :
177 66 if ($self->_chunk_true_end ? $comp_end <= $self->_chunk_true_end : 1)
637 0 35 unless ref $self