Branch Coverage

lib/Graphics/Toolkit/Color/Space/Hub.pm
Criterion Covered Total %
branch 34 38 89.4


line true false branch
12 3372 43 if exists $space_obj{uc $_[0]}
13 1153 44 defined $_[0] && ref get_space($_[0]) ? :
20 143 1143 unless defined $_[0]
22 1141 2 is_space($_[0]) ? :
27 2 599 if check_space_name($space_name)
29 592 7 $space->is_array($values) ? :
37 1 19 unless ref $value_hash eq "HASH"
41 15 57 if ref $pos_hash eq "HASH"
51 222 417 if defined $val[0]
59 3 583 unless ref $space
61 0 583 unless defined $values[0]
62 66 517 @values == 1 ? :
68 0 1 unless ref $space
70 0 1 if $space->name eq base_space()->name
77 0 2 unless ref $space
79 1 1 if $space->name eq base_space()->name
86 3 2 unless ref $space
94 3 4 unless ref $space
96 1 3 unless defined $values[0]