Condition Coverage

lib/Graphics/Toolkit/Color/Space/Shape.pm
Criterion Covered Total %
condition 55 66 83.3


and 3 conditions

line !l l&&!r l&&r condition
17 1 1 129 ref $type eq "ARRAY" and @$type == $basis->axis_count
40 0 1 7 exists $const_properties->{'checker'} and exists $const_properties->{'remedy'}
1 1 6 exists $const_properties->{'checker'} and exists $const_properties->{'remedy'} and exists $const_properties->{'error'}
57 268 0 1231 not ref $range and is_nr($range)
104 0 4 13228 defined $axis_nr and exists $self->{'type'}[$axis_nr]
124 0 0 16 defined $axis_nr and exists $self->{'type'}[$axis_nr]
127 0 0 15 ref $precision eq "ARRAY" and exists $precision->[$axis_nr]
168 78 206 19 $precision->[$axis_index] >= 0 and round_decimals($values->[$axis_index], $precision->[$axis_index]) != $values->[$axis_index]
184 74 883 36 $self->{'type'}[$axis_nr] == 1 and $values->[$axis_nr] < $self->{'range'}[$axis_nr][0] || $values->[$axis_nr] > $self->{'range'}[$axis_nr][1]
194 3 2 3 $self->basis->is_value_tuple($values_a) and $self->basis->is_value_tuple($values_b)
240 0 58 2397 $self->is_axis_numeric($_) && $precision->[$_] >= 0
274 4 2 37 $self->basis->is_value_tuple($values1) and $self->basis->is_value_tuple($values2)

or 3 conditions

line l !l&&r !l&&!r condition
22 125 4 256 $atype eq "angular" or $atype eq "circular"
129 2 254 $atype eq "angular" or $atype eq "circular" or $atype eq 0
247 1 6 $atype eq "linear" or $atype eq 1
3 1 2 $atype eq "no" or $atype eq 2
36 1 1 7 ref $constraint ne "HASH" or not %$constraint
55 55 1146 298 not defined $range or $range eq "normal"
57 1231 267 1 not ref $range and is_nr($range) or ref $range eq "ARRAY"
126 0 15 0 $precision //= $self->{'precision'}
184 24 36 859 $values->[$axis_nr] < $self->{'range'}[$axis_nr][0] || $values->[$axis_nr] > $self->{'range'}[$axis_nr][1]
214 1 0 28 $default_value < $range->[$axis_nr][0] or $default_value > $range->[$axis_nr][1]