Branch Coverage

blib/lib/Catalyst/DispatchType/Regex.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
73 0 0 $avail_width * 0.5 < 35 ? :
83 0 0 if @{$self->_compiled;}
99 0 12 if $self->SUPER::match($c, $path)
102 5 47 if (my(@captures) = $path =~ /$$compiled{'re'}/)
103 0 5 unless $$compiled{'action'}->match($c)
137 39 199 if @register
145 199 39 unless $$attrs{$attr}
180 8 15 if (my $regexes = $action->attributes->{$attr})
189 3 14 unless defined $rest
192 2 12 unless @captures
196 2 4 if @captures
207 235 3 if $deprecation_warning_displayed++
208 0 3 if $ENV{'CATALYST_NOWARN_DEPRECATE'}