Branch Coverage

blib/lib/Color/Library.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
30 0 21 unless @_
32 21 0 if (wantarray) { }
56 2 2 if ref $_[0] eq 'ARRAY'
63 1 5 if ($query =~ /:/)
67 0 1 unless (defined $name)
71 1 0 if defined $dictionaries
77 0 19 unless my $dictionary = $self->dictionary($dictionary_id)
78 5 14 if $color = $dictionary->color($query_)
83 1 3 wantarray ? :