Branch Coverage

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


line true false branch
12 3446 43 if exists $space_obj{uc $_[0]}
13 1158 44 defined $_[0] && ref get_space($_[0]) ? :
20 150 1148 unless defined $_[0]
22 1146 2 is_space($_[0]) ? :
27 2 603 if check_space_name($space_name)
29 596 7 $space->is_array($values) ? :
37 1 21 unless ref $value_hash eq "HASH"
41 17 63 if ref $pos_hash eq "HASH"
51 233 453 if defined $val[0]
59 3 587 unless ref $space
61 0 587 unless defined $values[0]
62 70 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]