Branch Coverage

blib/lib/Bio/Gonzales/Seq/IO.pm
Criterion Covered Total %
branch 8 48 16.6


line true false branch
35 0 55 unless $entry
39 5 0 unless $fh_was_open
41 2 3 wantarray ? :
48 0 0 if (ref $ids_with_ranges eq 'ARRAY')
49 0 0 unless @$ids_with_ranges
51 0 0 if (ref $ids_with_ranges->[0] eq 'ARRAY') { }
57 0 0 unless defined $ids->{$id}
72 0 0 if (exists $$ids{$entry->id})
77 0 0 if ($@)
84 0 0 unless @$ranges
87 0 0 unless $fh_was_open
89 0 0 wantarray ? :
96 0 0 if exists $fa{$s->id}
99 0 0 wantarray ? :
105 0 0 unless @srcs > 0
111 0 0 unless (defined $entry)
112 0 0 unless $fh_was_open
114 0 0 if (my $src = shift @srcs) { }
131 0 1 unless @data > 0
134 0 1 if (ref $d eq 'HASH') { }
1 0 elsif (ref $d eq 'ARRAY') { }
0 0 elsif (ref $d eq 'Bio::Gonzales::Seq') { }
145 0 0 unless ($d)
153 1 0 unless $fh_was_open