Condition Coverage

lib/Bio/Graphics/Wiggle.pm
Criterion Covered Total %
condition 35 105 33.3


and 3 conditions

line !l l&&!r l&&r condition
344 2 1 0 $self->{'dirty'} and $self->{'write'}
474 0 0 0 $scaled_value == 0 and (my $span = $self->span) > 1
502 0 0 0 @_ == 2 and ref $_[1] eq 'ARRAY'
511 4 0 0 ref $_[0] and ref $_[0] eq 'ARRAY'
590 57 2775 0 defined $last_val and $last_val != $v
656 4 0 0 $length / $samples > 100 and $step == 1
715 4 0 0 defined $self->window and $self->window > 1
869 3809 0 0 ref $values and ref $values eq 'ARRAY'
892 0 0 4 ref $values and ref $values eq 'ARRAY'

or 2 conditions

line l !l condition
239 2 0 $path ||= ''
245 0 0 $path || 'temporary file'
247 1 1 $options ||= {}
254 1 1 eval { do { $self->_readoptions } } || {}
258 0 2 $merged_options{'version'} ||= 0
259 2 0 $merged_options{'seqid'} ||= 'chrUnknown'
260 2 0 $merged_options{'min'} ||= 0
261 2 0 $merged_options{'max'} ||= 255
262 2 0 $merged_options{'mean'} ||= 128
263 2 0 $merged_options{'stdev'} ||= 255
264 1 1 $merged_options{'trim'} ||= 'none'
265 2 0 $merged_options{'step'} ||= 1
266 0 2 $merged_options{'start'} ||= 0
337 0 0 $self->{'smoothing'} || 'mean'
418 1 0 shift() || 1
556 1 0 $start ||= 1
624 0 0 eval { do { $self->_readoptions } } || {}
905 2 0 $max - $min || 0.001

or 3 conditions

line l !l&&r !l&&!r condition
249 0 2 0 ref $class || $class
267 2 0 0 $merged_options{'span'} ||= $merged_options{'step'}
309 1 1 0 $option eq 'min' or $option eq 'max'
457 0 0 0 not exists $self->{'end'} or $self->{'end'} < $end
464 1 3808 0 not exists $self->{'end'} or $self->{'end'} < $position
557 1 0 0 $end ||= $self->end
632 0 0 0 not defined $self->{'end'} or $self->{'end'} < $end
650 0 4 0 $samples ||= $length
676 0 0 0 not defined $max or $max < $_
781 0 0 0 $window ||= $self->window
783 0 0 0 $smoothing eq 'none' or $window < 2
823 0 0 0 not defined $max or $max < $v
833 0 0 0 not defined $min or $min > $v
859 0 0 0 not exists $self->{'end'} or $self->{'end'} < $new_end