Branch Coverage

blib/lib/CracTools/Interval/Query/File.pm
Criterion Covered Total %
branch 17 34 50.0


line true false branch
26 0 1 unless defined $file
31 0 1 if defined $args{'header_skip'}
33 1 0 unless (defined $get_interval_sub)
35 0 1 unless defined $type
36 1 0 if ($type =~ /gff/i) { }
0 0 elsif ($type =~ /sam/i) { }
0 0 elsif ($type =~ /bed/i) { }
62 0 0 unless defined $_->{'strand'}
86 0 1 unless open my $fh, $self->{'file'}
94 1 8 if ($header_line)
95 0 1 if ($_ =~ /^$self->{'header_skip'}/) { }
106 9 0 if (defined $i->{'low'} and defined $i->{'high'} and defined $i->{'seqname'})
109 0 9 unless defined $i->{'strand'}
140 0 1 if ($fields[1] & 16)
150 1 2 if ($op eq 'N' or $op eq 'D') { }
2 0 elsif ($op ne 'S' or $op ne 'H' or $op ne 'I') { }
176 1 1 if (@fields < 12) { }