Branch Coverage

blib/lib/Router/PathInfo.pm
Criterion Covered Total %
branch 21 36 58.3


line true false branch
98 0 1 if $param{'as'} and $param{'as'} eq 'singletone'
125 0 1 if $as_singletone and $singleton
132 1 0 UNIVERSAL::isa($$param{'static'}, 'HASH') ? :
0 1 UNIVERSAL::isa($$param{'controller'}, 'HASH') ? :
0 1 (defined $$param{'cache_limit'} && $$param{'cache_limit'}) =~ /^\d+$/ ? :
139 0 1 if $as_singletone
152 3 0 if ($$self{'controller'}) { }
161 0 0 $as_singletone ? :
200 0 7 if (not ref $env) { }
208 0 7 unless $$env{'PATH_INFO'}
217 1 6 if ($cache_match)
219 1 0 if exists $$cache_match{'_callback'}
230 6 0 if (not $match and $$self{'static'})
237 4 2 if (not $match and $$self{'controller'})
251 1 5 if (not $not_exactly and $$match{'type'} eq 'controller') { }
5 0 elsif ($$self{'cache_limit'}) { }
254 0 5 if ($$self{'cache_cnt'} > $$self{'cache_limit'}) { }
264 1 5 if exists $$match{'_callback'}