Branch Coverage

blib/lib/Color/Library/Color.pm
Criterion Covered Total %
branch 2 22 9.0


line true false branch
124 0 2 wantarray ? :
143 12801 0 if (ref $_[0] eq 'ARRAY') { }
155 0 0 ref $_[0] eq 'HASH' ? :
161 0 0 ref $_{'value'} eq 'ARRAY' ? :
186 0 0 ref $_[0] eq 'ARRAY' ? :
200 0 0 ref $_[0] eq 'ARRAY' ? :
219 0 0 wantarray ? :
232 0 0 if @_ == 3 and not grep(/[^\d.+eE-]/, @_)
233 0 0 if ($_[0] =~ /^\#?([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])$/i)
236 0 0 if ($_[0] =~ /^\#?([\da-f])([\da-f])([\da-f])$/i)
239 0 0 if 1 == @_ and $_[0] =~ /^\d+$/