Condition Coverage

lib/Graphics/Toolkit/Color/Space/Basis.pm
Criterion Covered Total %
condition 27 36 75.0


and 3 conditions

line !l l&&!r l&&r condition
11 60 9 0 defined $name_shortcuts and ref $name_shortcuts ne 'ARRAY' || @$axis_names != @$name_shortcuts
32 29 388 96 defined $_[1] && exists $_[0]{'key_order'}{lc $_[1]}
33 0 133 214 defined $_[1] && exists $_[0]{'shortcut_order'}{lc $_[1]}
37 0 491 90 defined $string and not ref $string
47 0 479 79 defined $string and not ref $string
57 78 123 2729 ref $value_array eq 'ARRAY' && @$value_array == $self->{'count'}
61 367 166 96 ref $value_array eq 'ARRAY' && @$value_array == $self->{'count'} + 1 && uc $value_array->[0] eq uc $self->name
66 400 48 116 ref $value_hash eq "HASH" and CORE::keys %$value_hash == $self->{'count'}
76 0 1 5 $key_count and $key_count <= $self->{'count'}
109 0 0 36 ref $value_hash eq "HASH" and CORE::keys %$value_hash == $self->{'count'}
123 9 1 68 @keys_got and @keys_got <= $self->{'count'}

or 3 conditions

line l !l&&r !l&&!r condition
11 0 0 9 ref $name_shortcuts ne 'ARRAY' || @$axis_names != @$name_shortcuts