Condition Coverage

lib/Graphics/Toolkit/Color/Name.pm
Criterion Covered Total %
condition 11 18 61.1


and 3 conditions

line !l l&&!r l&&r condition
83 1 0 5 defined $name and $name
92 0 0 2 defined $name and $name
114 13 30 87 exists $name_from_rgb[$_[0]] and exists $name_from_rgb[$_[0]][$_[1]]
43 23 64 exists $name_from_rgb[$_[0]] and exists $name_from_rgb[$_[0]][$_[1]] and exists $name_from_rgb[$_[0]][$_[1]][$_[2]]
121 0 0 2 exists $name_from_hsl[$_[0]] and exists $name_from_hsl[$_[0]][$_[1]]
0 0 2 exists $name_from_hsl[$_[0]] and exists $name_from_hsl[$_[0]][$_[1]] and exists $name_from_hsl[$_[0]][$_[1]][$_[2]]