Branch Coverage

blib/lib/Catalyst/Plugin/Sitemap.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
43 7 4 unless my $attr = $action->attributes->{'Sitemap'}
45 0 4 if @$attr > 1
52 2 2 if (@attr == 1) { }
1 1 elsif (@attr > 0) { }
53 1 1 if ($attr[0] eq '*') { }
1 0 elsif ($attr[0] + 0 > 0) { }
56 1 0 if $controller->can($sitemap_method)