Condition Coverage

lib/Graphics/Toolkit/Color/Space/Shape.pm
Criterion Covered Total %
condition 41 51 80.3


and 3 conditions

line !l l&&!r l&&r condition
16 61 0 16 not ref $range and $range > 0
3 2 56 ref $range eq "ARRAY" and @$range == $basis->count
27 58 0 110 not ref $drange and $drange > 0
0 2 56 ref $drange eq "ARRAY" and @$drange == 2
2 0 56 ref $drange eq "ARRAY" and @$drange == 2 and defined $drange->[0]
2 0 56 ref $drange eq "ARRAY" and @$drange == 2 and defined $drange->[0] and defined $drange->[1]
0 1 55 ref $drange eq "ARRAY" and @$drange == 2 and defined $drange->[0] and defined $drange->[1] and $drange->[0] < $drange->[1]
37 1 2 250 ref $type eq "ARRAY" and @$type == $basis->count
55 0 0 3219 ref $range eq "ARRAY" and exists $range->[$dnr]
57 34 2472 713 $r->[0] == 0 and $r->[1] == 1
75 4 2 108 $self->basis->is_array($values1) and $self->basis->is_array($values2)
92 77 543 16 $self->dimension_is_int($i, $range) and int $values->[$i] != $values->[$i]

or 3 conditions

line l !l&&r !l&&!r condition
16 16 204 77 not defined $range or $range eq "normal"
42 33 1 718 $dtype eq "angle" or $dtype eq "circular"
34 139 579 $dtype eq "angle" or $dtype eq "circular" or $dtype eq 0
64 513 2 $dtype eq "linear" or $dtype eq 1
54 3219 0 0 $range //= $self->{'range'}