Branch Coverage

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


line true false branch
13 10 216 unless ref $values
21 108 108 if $space ne $std_space
27 0 579 if Graphics::Toolkit::Color::Space::Hub::check_space_name($space_name)
33 416 163 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)
80 2 90 unless ref $c2 eq "Graphics::Toolkit::Color::Values"
82 0 90 if Graphics::Toolkit::Color::Space::Hub::check_space_name($space_name)
84 18 72 if $space->basis->is_key($metric)
88 0 90 unless defined $values1[0] and defined $values2[0]
94 0 90 unless defined $delta[0] and @delta == $space->dimensions
97 61 29 if (defined $metric and $metric)
103 0 61 defined $pos ? :
104 0 61 unless @components