Condition Coverage

lib/Data/CloudWeights.pm
Criterion Covered Total %
condition 10 20 50.0


and 3 conditions

line !l l&&!r l&&r condition
103 1 0 1 $tag_value and ref $tag_value ne 'ARRAY'
158 10 0 1 $self->limit and @{$out;} == $self->limit
170 0 0 1 $self->cold_colour and $self->hot_colour

or 2 conditions

line l !l condition
125 7 0 abs $self->max_count - $self->min_count || 1

or 3 conditions

line l !l&&r !l&&!r condition
134 1 0 0 $self->hot_colour || pop @{$self->colour_pallet;}
179 1 0 0 $col2 ||= $col1
232 1 1 0 &$orderby(@_) || $_[0]{'tag'} cmp $_[1]{'tag'}