Condition Coverage

lib/Graphics/Toolkit/Color/Calculator.pm
Criterion Covered Total %
condition 6 12 50.0


and 3 conditions

line !l l&&!r l&&r condition
78 18 3 2 defined $only and not ref $only

or 3 conditions

line l !l&&r !l&&!r condition
68 0 0 153 ref $ingredient ne "HASH" or not exists $ingredient->{'percent'}
0 0 153 ref $ingredient ne "HASH" or not exists $ingredient->{'percent'} or not exists $ingredient->{'color'}
0 0 153 ref $ingredient ne "HASH" or not exists $ingredient->{'percent'} or not exists $ingredient->{'color'} or ref $ingredient->{'color'} ne ref $color_values