Condition Coverage

lib/Graphics/Toolkit/Color/Space/Basis.pm
Criterion Covered Total %
condition 27 32 84.3


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
47 111 152 17 $_[0]{'alias_name'} and uc $_[1] eq $_[0]{'alias_name'}
50 0 809 260 defined $_[1] && exists $_[0]{'long_name_order'}{lc $_[1]}
51 0 562 252 defined $_[1] && exists $_[0]{'short_name_order'}{lc $_[1]}
67 53 101 718 $key_count and $key_count <= $self->axis_count
69 555 0 494 $self->is_axis_name($axis_name) and defined $value_hash->{$axis_name}
77 14 58 5607 ref $_[1] eq 'ARRAY' && @{$_[1];} == $_[0]->axis_count

or 2 conditions

line l !l condition
25 110 175 $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
56 106 67 35 pos_from_long_axis_name(@_) // pos_from_short_axis_name(@_)