Branch Coverage

blib/lib/Attribute/Method/Tags/Registry.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
15 0 4 unless (scalar @{$tags;})
20 0 5 unless ($tag =~ /^\w+$/)
28 4 3 if exists $$by_tag{$_}{$class}
32 0 4 if ($exists)
48 1 4 unless defined $tag
50 1 3 unless exists $$by_tag{$tag}
58 2 10 unless defined $class
59 2 8 unless defined $tag
62 2 6 unless exists $$by_tag{$tag}
70 2 7 unless defined $class
71 2 5 unless defined $method
72 2 3 unless defined $tag
75 0 3 unless exists $$by_tag{$tag}
76 0 3 unless exists $$by_tag{$tag}{$class}
78 1 2 exists $$by_tag{$tag}{$class}{$method} ? :