blib/lib/Router/PathInfo/Static.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 20 | 80.0 |
line | true | false | branch |
---|---|---|---|
113 | 4 | 0 | if (ref $token) |
114 | 4 | 0 | if (-e $$token{'path'} and -d _ and $$token{'first_uri_segment'}) { } |
124 | 2 | 0 | keys %$hash ? : |
132 | 10 | 8 | if $$self{$_} and $first_segment eq $$self{$_ . '_uri_segment'} |
153 | 0 | 12 | unless $serch_file and @segment |
157 | 2 | 10 | unless $type |
161 | 5 | 2 | unless $_ =~ /^\./ |
164 | 2 | 7 | if $serch_file =~ /^\./ or $serch_file =~ /~/ or grep {$_ =~ /~/ unless $_ =~ /^\./;} @segment |
167 | 3 | 4 | if (-f $serch_file and -s _ and -r _) { } |
174 | 1 | 3 | $type eq 'allready' ? : |