Branch Coverage

blib/lib/HTML/TagCloud.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
27 0 359 if (scalar @{$$self{'categories'};} > 0 and defined $category)
36 0 10 if (scalar @{$$self{'categories'};} > 0 and defined $category)
50 25 50 if ($$self{'distinguish_adjacent_tags'}) { }
75 0 9870 unless $$counts{$b} <=> $$counts{$a}
76 6 9 if defined $limit
78 1 14 unless scalar @tags
85 9 5 if ($max - $min == 0) { }
93 13 1 if (scalar @tags < $$self{'levels'})
113 0 15 scalar @{$$self{'categories'};} > 0 ? :
127 1 14 if $ntags == 0
130 3 11 $ntags == 1 ? :
170 0 0 unless defined $tags_by_category_ref
200 0 0 if scalar @tags == 0
205 0 0 defined $$tag_ref{'category'} ? :
225 10 392 if ($$self{'distinguish_adjacent_tags'})
226 7 3 $is_even ? :
230 392 10 if (defined $url)
234 392 10 if (defined $url)