Condition Coverage

blib/lib/Bio/ToolBox/parser/bed.pm
Criterion Covered Total %
condition 21 60 35.0


and 3 conditions

line !l l&&!r l&&r condition
474 20 0 0 $bed == 4 && $Stream->extension =~ /bdg|bedgraph/i
973 6 0 0 $chrom and $start
6 0 0 $chrom and $start and $end
975 0 0 0 $g->strand == $strand and not $g->start > $end || $g->end < $start

or 2 conditions

line l !l condition
763 22 0 $data[3] || undef
0 22 $data[4] || undef
22 0 $data[5] || undef
788 0 70 $data[8] ||= 0
789 70 0 $data[9] ||= 1
791 54 16 $data[11] ||= 0
944 0 0 $opt{'name'} || $opt{'display_name'} || undef
945 0 0 $opt{'id'} || $opt{'primary_id'} || undef
946 0 32 $opt{'chrom'} || $opt{'seq_id'} || undef
947 0 32 $opt{'start'} || undef
948 0 32 $opt{'stop'} || $opt{'end'} || undef
949 0 32 $opt{'strand'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
339 12 0 0 exists $options{'file'} or $options{'table'}
340 12 0 0 $options{'file'} ||= $options{'table'}
595 0 0 124 $line =~ /^#/ or $line =~ /^(?:track|browser)/
0 0 124 $line =~ /^#/ or $line =~ /^(?:track|browser)/ or not $line =~ /\w+/
786 70 0 0 $data[6] ||= $data[2]
787 70 0 0 $data[7] ||= $data[2]
790 70 0 0 $data[10] ||= $data[7] - $data[6]
975 0 0 0 $g->start > $end || $g->end < $start