Condition Coverage

blib/lib/GD/Graph/Data.pm
Criterion Covered Total %
condition 37 92 40.2


and 3 conditions

line !l l&&!r l&&r condition
153 0 0 0 defined $np and $np >= 0
170 0 0 0 defined $_[0] and $_[0] >= 1
188 0 0 2 defined $nd and $nd >= 1
0 0 2 defined $nd and $nd >= 1 and $nd <= $self->num_sets
190 0 0 2 defined $np and $np >= 0
208 0 0 0 defined $nd and $nd >= 1
0 0 0 defined $nd and $nd >= 1 and $nd <= $self->num_sets
210 0 0 0 defined $np and $np >= 0
236 1 0 5 defined $min and defined $max
268 0 0 5 defined $nd and $nd >= 1
0 0 5 defined $nd and $nd >= 1 and $nd <= $self->num_sets
294 0 0 1 defined $min and defined $max
307 0 0 12 defined $np and $np >= 0
405 0 0 3 defined $nd and $nd >= 1
0 0 3 defined $nd and $nd >= 1 and $nd <= $self->num_sets
483 0 1 0 @_ and @_ % 2
501 12 0 0 $args{'preserve_undef'} and not defined $self->[$ds][$point]
12 0 0 $args{'preserve_undef'} and not defined $self->[$ds][$point] and not defined $self->[$i][$point]
562 0 2 0 defined $data and ref $data eq 'ARRAY' || ref $data eq 'GD::Graph::Data'
641 0 3 0 @_ and @_ % 2
673 11 0 7 $line =~ /^#/ and not $args{'no_comment'}

or 2 conditions

line l !l condition
100 0 0 $self->copy_from(@_) or return $self->_move_errors
217 0 0 $self->[$i][$np] || 0
504 8 4 $self->[$i][$point] || 0
647 2 1 $args{'delimiter'} || "\t"

or 3 conditions

line l !l&&r !l&&!r condition
97 1 5 0 ref $proto || $proto
232 5 4 8 not defined $min or $val < $min
233 5 8 4 not defined $max or $val > $max
290 1 1 1 not defined $min or $ds_min < $min
291 1 0 2 not defined $max or $ds_max > $max
529 0 0 0 $wanted < 1 or $wanted > $self->num_sets
562 1 1 0 ref $data eq 'ARRAY' || ref $data eq 'GD::Graph::Data'