Branch Coverage

lib/Data/CloudWeights.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
96 1 0 if $self->cold_colour and $self->hot_colour
183 1 5 unless $tag
186 4 1 defined $count ? :
191 3 2 if (not exists $self->_index->{$tag}) { }
203 2 0 if (defined $value)
207 1 1 if $tag_value and ref $tag_value ne 'ARRAY'
211 1 1 if ($tag_value) { }
217 2 3 if $count > $self->max_count
218 1 4 if $self->min_count == -1
219 0 5 if $count < $self->min_count
235 1 6 if $ntags == 0
237 1 5 if ($ntags == 1)
262 1 10 if $self->limit and @{$out;} == $self->limit