Branch Coverage

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


line true false branch
25 0 1 unless defined $file
30 0 1 if defined $args{'header_skip'}
32 1 0 unless (defined $get_interval_sub)
34 0 1 unless defined $type
35 1 0 if ($type =~ /gff/i) { }
0 0 elsif ($type =~ /sam/i) { }
0 0 elsif ($type =~ /bed/i) { }
61 0 0 unless defined $_->{'strand'}
85 0 1 unless open my $fh, $self->{'file'}
93 1 8 if ($header_line)
94 0 1 if ($_ =~ /^$self->{'header_skip'}/) { }
105 9 0 if (defined $i->{'low'} and defined $i->{'high'} and defined $i->{'seqname'})
108 0 9 unless defined $i->{'strand'}
139 0 1 if ($fields[1] & 16)
149 1 2 if ($op eq 'N' or $op eq 'D') { }
2 0 elsif ($op ne 'S' or $op ne 'H' or $op ne 'I') { }
175 1 1 if (@fields < 12) { }