blib/lib/HTML/TagCloud/Extended/TagColors.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 12 | 100.0 |
line | true | false | branch |
---|---|---|---|
67 | 1 | 11 | unless ($type =~ /(?:earliest|earlier|later|latest|hot)/) |
72 | 6 | 5 | if (ref $color eq 'HASH') { } |
74 | 1 | 14 | unless ($attr =~ /(?:link|visited|hover|active)/) |
80 | 13 | 1 | if ($self->_check_color_code($code)) { } |
90 | 4 | 1 | if ($self->_check_color_code($color)) { } |
106 | 17 | 2 | $code =~ /^[0-9a-fA-F]{6}$/ || $code =~ /^[0-9a-fA-F]{3}$/ ? : |