Branch Coverage

blib/lib/Catalyst/DispatchType/Regex.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
34 0 0 if @{$$self{'compiled'};}
49 2 795 if $self->SUPER::match($c, $path)
53 6 789 unless $$self{'compiled'}
54 4 7852 if (my(@captures) = $path =~ /$$compiled{'re'}/)
55 0 4 unless $$compiled{'action'}->match($c)
80 24599 450 unless $$attrs{'Regex'}
87 450 24599 if @register
122 4 21 if (my $regexes = $action->attributes->{'Regex'})
132 1 6 unless @captures
135 1 2 if @captures