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 59 0 16 not ref $range and $range > 0
3 2 54 ref $range eq "ARRAY" and @$range == $basis->count
27 54 0 108 not ref $drange and $drange > 0
0 2 52 ref $drange eq "ARRAY" and @$drange == 2
2 0 52 ref $drange eq "ARRAY" and @$drange == 2 and defined $drange->[0]
2 0 52 ref $drange eq "ARRAY" and @$drange == 2 and defined $drange->[0] and defined $drange->[1]
0 1 51 ref $drange eq "ARRAY" and @$drange == 2 and defined $drange->[0] and defined $drange->[1] and $drange->[0] < $drange->[1]
37 1 2 242 ref $type eq "ARRAY" and @$type == $basis->count
55 0 0 3123 ref $range eq "ARRAY" and exists $range->[$dnr]
57 18 2430 675 $r->[0] == 0 and $r->[1] == 1
75 4 2 104 $self->basis->is_array($values1) and $self->basis->is_array($values2)
92 47 522 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 196 75 not defined $range or $range eq "normal"
42 33 1 694 $dtype eq "angle" or $dtype eq "circular"
34 131 563 $dtype eq "angle" or $dtype eq "circular" or $dtype eq 0
64 497 2 $dtype eq "linear" or $dtype eq 1
54 3123 0 0 $range //= $self->{'range'}