| lib/Graphics/Toolkit/Color/Name.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 26 | 65.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 42 | 140 | 3 | 1 | $full_name and uc $scheme_name ne "DEFAULT" |
| 47 | 482 | 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 |
| line | l | !l | condition |
|---|---|---|---|
| 86 | 519 | 69 | shift() // "DEFAULT" |
| 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} |