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 11 0 defined $name_shortcuts and ref $name_shortcuts ne 'ARRAY' || @$axis_names != @$name_shortcuts
32 29 402 108 defined $_[1] && exists $_[0]{'key_order'}{lc $_[1]}
33 0 139 222 defined $_[1] && exists $_[0]{'shortcut_order'}{lc $_[1]}
37 0 509 101 defined $string and not ref $string
47 0 472 88 defined $string and not ref $string
57 63 140 2808 ref $value_array eq 'ARRAY' && @$value_array == $self->{'count'}
61 387 182 106 ref $value_array eq 'ARRAY' && @$value_array == $self->{'count'} + 1 && uc $value_array->[0] eq uc $self->name
66 414 48 116 ref $value_hash eq "HASH" and CORE::keys %$value_hash == $self->{'count'}
76 0 1 7 $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 76 @keys_got and @keys_got <= $self->{'count'}

or 3 conditions

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