Condition Coverage

lib/Graphics/Toolkit/Color/Name.pm
Criterion Covered Total %
condition 17 26 65.3


and 3 conditions

line !l l&&!r l&&r condition
42 137 3 1 $full_name and uc $scheme_name ne "DEFAULT"
47 483 11 8 defined $all_names && $all_names
54 1 11 5 @return_names == 1 and $return_names[0] eq ""
69 7 0 0 $full_name and uc $scheme_name ne "DEFAULT"
73 2 1 2 defined $all_names && $all_names

or 2 conditions

line l !l condition
86 520 67 shift() // "DEFAULT"

or 3 conditions

line l !l&&r !l&&!r condition
96 0 0 0 $@ or ref $palette ne "HASH"
106 0 0 1 ref $scheme ne "Graphics::Toolkit::Color::Name::Scheme" or not defined $scheme_name
0 0 1 ref $scheme ne "Graphics::Toolkit::Color::Name::Scheme" or not defined $scheme_name or exists $color_scheme{$scheme_name}