Condition Coverage

blib/lib/Bio/DB/USeq.pm
Criterion Covered Total %
condition 49 156 31.4


and 3 conditions

line !l l&&!r l&&r condition
1249 2 0 0 ref $args{'-type'} and ref $args{'-type'} eq "ARRAY"
1283 2 0 0 exists $args{'-iterator'} and $args{'-iterator'}
1335 0 0 0 $f->start == $start and $f->end == $end
1357 3 0 0 ref $args{'-type'} and ref $args{'-type'} eq "ARRAY"
1486 0 0 6 $chromo and $strand
0 0 6 $chromo and $strand and defined $start
0 0 6 $chromo and $strand and defined $start and defined $stop
0 0 6 $chromo and $strand and defined $start and defined $stop and $number
0 0 6 $chromo and $strand and defined $start and defined $stop and $number and $extension
2497 0 2 0 $iterator->strand == 0 and $useq->stranded
2604 0 0 1 $self->{'bin'} and $step > 1
2752 0 0 0 $bins and $bins > 1

or 2 conditions

line l !l condition
900 0 0 $args{'-file'} || $args{'-useq'} || undef
1072 1 0 $sum || 0
1 0 $sum_squares || 0
0 1 $min || 0
1 0 $max || 0
1135 0 0 $sum || 0
0 0 $sum_squares || 0
0 0 $min || 0
0 0 $max || 0
1248 0 0 $args{'-types'} || $args{'-primary_tag'} || 'region'
1250 0 0 $args{'-type'}[0] || 'region'
1326 0 0 $type || undef
1356 0 1 $args{'-types'} || $args{'-primary_tag'} || 'region'
1358 0 0 $args{'-type'}[0] || 'region'
1553 0 0 $args{'-seq_id'} || $args{'-chromo'} || undef
1554 0 0 $args{'-start'} || $args{'-pos'} || undef
1555 0 0 $args{'-end'} || $args{'-stop'} || undef
1556 0 5 $args{'-strand'} || '0'
1565 5 0 $start ||= 1
1567 0 5 $strand ||= 0
2187 1407 869 $r->[2] || 0
2229 10 0 $sum || 0
10 0 $sum_squares || 0
0 10 $min || 0
10 0 $max || 0
2382 0 0 $type ||= "region"
2395 0 1 $type ||= "region"
2432 0 0 $bins ||= 1
2554 2 0 shift @{$$self{'slices'};} || undef
2663 0 1 $useq->slice_strand($slices->[0]) || 0
2688 0 1 $self->{'useq'}->slice_strand($slices->[0]) || 0
2772 0 0 $sum || 0
0 0 $sum_squares || 0
0 0 $min || 0
0 0 $max || 0
2821 1 0 $bin ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
1065 1 3 9147 not defined $min or $r->[2] < $min
1066 1 32 9118 not defined $max or $r->[2] > $max
1130 0 0 0 not defined $min or $stats->{'minVal'} < $min
1131 0 0 0 not defined $max or $stats->{'maxVal'} > $max
1248 2 0 0 $args{'-type'} ||= $args{'-types'} || $args{'-primary_tag'} || 'region'
1356 2 1 0 $args{'-type'} ||= $args{'-types'} || $args{'-primary_tag'} || 'region'
1530 2 4 0 $self->{'coord2file'}{$chromo}{$strand} ||= "Set::IntervalTree"->new
1566 5 0 0 $stop ||= $self->length($seq_id)
2222 10 30 11954 not defined $min or $r->[2] < $min
2223 10 101 11883 not defined $max or $r->[2] > $max
2418 0 0 0 $bins ||= $self->length
2425 0 0 0 $bins ||= $self->length
2767 0 0 0 not defined $min or $s < $min
2768 0 0 0 not defined $max or $s > $max
2820 1 0 0 $bin ||= $self->{'bin'}
2823 0 1 0 $step ||= $self->length / $bin