Branch Coverage

lib/Graphics/Toolkit/Color/Values.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
13 10 227 unless ref $values
21 120 107 if $space ne $std_space
27 0 583 if Graphics::Toolkit::Color::Space::Hub::check_space_name($space_name)
33 427 156 exists $$self{$space->name} ? :
44 1 7 unless defined $space_name
55 2 5 unless defined $space_name
65 0 16 unless ref $c2 eq "Graphics::Toolkit::Color::Values"
68 0 16 if Graphics::Toolkit::Color::Space::Hub::check_space_name($space_name)
79 2 94 unless ref $c2 eq "Graphics::Toolkit::Color::Values"
81 0 94 if Graphics::Toolkit::Color::Space::Hub::check_space_name($space_name)
83 22 72 if $space->basis->is_key($select)
86 0 94 unless defined $values1[0] and defined $values2[0]
90 0 94 unless defined $delta[0] and @delta == $space->dimensions
93 65 29 if (defined $select and $select)
99 0 65 defined $pos ? :
100 0 65 unless @components