Condition Coverage

blib/lib/Color/Calc.pm
Criterion Covered Total %
condition 23 43 53.4


and 3 conditions

line !l l&&!r l&&r condition
88 0 0 7 not ref $self->{'ColorScheme'} and $self->{'ColorScheme'} =~ /^([[:alnum:]_]+)$/
130 4 11 0 @_ and exists $import_param_names{$_[0]}
185 0 0 195 $n <= 255 && $n >= 0
198 426 272 0 ref $p->[0] eq 'ARRAY' and $#{$$p[0];} == 0
202 426 0 272 ref $p->[0] eq 'ARRAY' and $#{$$p[0];} == 2
361 0 65 $#$p >= 2 + ($q || 0) and __is_col_val($p->[0])
361 0 65 $#$p >= 2 + ($q || 0) and __is_col_val($p->[0]) and __is_col_val($p->[1])
0 0 65 $#$p >= 2 + ($q || 0) and __is_col_val($p->[0]) and __is_col_val($p->[1]) and __is_col_val($p->[2])

or 2 conditions

line l !l condition
103 218 1 $self->{'OutputFormat'} || 'tuple'
202 34 392 $q || 0
256 114 0 $MODE or 'tuple'
550 0 26 shift() || 6
660 0 88 shift() || 0.5

or 3 conditions

line l !l&&r !l&&!r condition
177 0 0 2400 !defined($_) || $_ < 0
202 0 0 426 UNIVERSAL::can($p->[0], 'asRGB255') || UNIVERSAL::can($p->[0], 'as_RGB255')
0 0 426 UNIVERSAL::can($p->[0], 'asRGB') || UNIVERSAL::can($p->[0], 'as_RGB')