Branch Coverage

lib/Drogo/Dispatcher/Attributes.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
31 2 5 unless exists $dispatch_flags{$pack}
34 2 5 if ($attr eq 'Index') { }
2 3 elsif ($attr eq 'Action') { }
2 1 elsif ($attr eq 'ActionMatch') { }
1 0 elsif ($attr =~ /^ActionRegex/) { }
0 0 elsif ($attr =~ /^Path/) { }
48 1 0 if ($attr =~ /^ActionRegex\(['"](.*)['"]\)$/) { }
53 0 1 if $@
66 0 0 if $attr =~ /\(['"](.*?)['"]\)$/
86 0 13 ref $self ? :
88 2 11 unless exists $cached_flags{$class}
103 0 2 ref $self ? :
113 10 17 if (defined &$code_ref)
118 7 3 if grep {"$code" eq "$_";} @code_refs