Condition Coverage

lib/Graphics/Toolkit/Color.pm
Criterion Covered Total %
condition 25 31 80.6


and 3 conditions

line !l l&&!r l&&r condition
35 128 13 15 not ref $color_def and substr($color_def, 0, 1) =~ /\w/u
141 0 15 not ref $color_def and substr($color_def, 0, 1) =~ /\w/u and not $color_def =~ /,/u

or 2 conditions

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
185 5 4 shift() // 1
186 3 6 shift() // 0
187 3 6 shift() // 0

or 3 conditions

line l !l&&r !l&&!r condition
26 7 0 42 @args == 3 or Graphics::Toolkit::Color::Space::Hub::is_space($args[0])
27 4 0 45 @args == 6 or @args == 8
143 3 0 9 $arg->{'pos'} // $arg->{'position'}