Condition Coverage

lib/Graphics/Toolkit/Color/Space.pm
Criterion Covered Total %
condition 14 36 38.8


and 3 conditions

line !l l&&!r l&&r condition
40 0 16 598 defined $_[1] && exists $_[0]{'format'}{lc $_[1]}
41 0 59 312 defined $_[1] && exists $_[0]{'convert'}{uc $_[1]}
91 0 0 128 $self->{'basis'}->is_array($values) and defined $space_name
97 0 0 182 ref $values eq "ARRAY" and defined $space_name

or 3 conditions

line l !l&&r !l&&!r condition
56 0 0 9 not defined $format or ref $format
0 0 9 not defined $format or ref $format or ref $code ne "CODE"
68 0 0 17 not defined $format or ref $format
0 0 17 not defined $format or ref $format or exists $self->{'deformat'}{$format}
0 0 17 not defined $format or ref $format or exists $self->{'deformat'}{$format} or ref $code ne "CODE"
85 0 0 57 not defined $space_name or ref $space_name
0 0 57 not defined $space_name or ref $space_name or ref $from_code ne "CODE"
0 0 57 not defined $space_name or ref $space_name or ref $from_code ne "CODE" or ref $to_code ne "CODE"