lib/Graphics/Toolkit/Color.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 29 | 45 | 64.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
35 | 139 | 13 | 15 | not ref $color_def and substr($color_def, 0, 1) =~ /\w/u |
152 | 0 | 15 | not ref $color_def and substr($color_def, 0, 1) =~ /\w/u and not $color_def =~ /,/u | |
198 | 7 | 1 | 0 | ref $saturation_tilt and ref $saturation_tilt ne "HASH" |
208 | 7 | 1 | 0 | ref $lightness_tilt and ref $lightness_tilt ne "HASH" |
line | l | !l | condition |
---|---|---|---|
143 | 0 | 9 | ($arg->{'pos'} // $arg->{'position'}) // "0.5" |
144 | 4 | 8 | $arg->{'in'} // "HSL" |
162 | 5 | 1 | $arg->{'in'} // "HSL" |
163 | 6 | 0 | $arg->{'steps'} // 3 |
164 | 2 | 4 | $arg->{'dynamic'} // 0 |
192 | 4 | 4 | $arg{'steps'} // 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
26 | 6 | 0 | 42 | @args == 3 or Graphics::Toolkit::Color::Space::Hub::is_space($args[0]) |
27 | 4 | 0 | 44 | @args == 6 or @args == 8 |
143 | 3 | 0 | 9 | $arg->{'pos'} // $arg->{'position'} |
202 | 0 | 0 | 1 | not defined $space_name or $space_name ne "HSL" |
0 | 0 | 1 | not defined $space_name or $space_name ne "HSL" or not exists $pos_hash->{'1'} | |
212 | 0 | 0 | 1 | not defined $space_name or $space_name ne "HSL" |
0 | 0 | 1 | not defined $space_name or $space_name ne "HSL" or not exists $pos_hash->{'2'} |