Condition Coverage

lib/Graphics/Toolkit/Color/Space/Basis.pm
Criterion Covered Total %
condition 22 26 84.6


and 3 conditions

line !l l&&!r l&&r condition
12 251 34 1 defined $axis_short_names and ref $axis_short_names ne 'ARRAY' || @$axis_long_names != @$axis_short_names
50 116 140 16 $_[0]{'alias_name'} and uc $_[1] eq $_[0]{'alias_name'}
53 0 898 352 defined $_[1] && exists $_[0]{'long_name_order'}{lc $_[1]}
54 0 569 334 defined $_[1] && exists $_[0]{'short_name_order'}{lc $_[1]}
65 51 98 723 $key_count and $key_count <= $self->axis_count
75 14 60 4460 ref $_[1] eq 'ARRAY' && @{$_[1];} == $_[0]->axis_count

or 2 conditions

line l !l condition
25 95 190 $alias_name //= ""

or 3 conditions

line l !l&&r !l&&!r condition
12 0 1 34 ref $axis_short_names ne 'ARRAY' || @$axis_long_names != @$axis_short_names
24 95 190 0 $space_name //= $axis_initials