Branch Coverage

blib/lib/Catalyst/Plugin/I18N/PathPrefixGeoIP.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
254 0 0 if (not $req_path =~ /$config->{'language_independent_paths'}/) { }
256 0 0 if defined $prefix
257 0 0 unless defined $path
259 0 0 if (defined $prefix and exists $valid_language_codes->{$prefix}) { }
266 0 0 if ($path =~ /$config->{'language_independent_paths'}/) { }
290 0 0 if ($geocountry and exists $valid_language_codes->{$geocountry}) { }
302 0 0 $detected_language_code ? :
305 0 0 if $detected_language_code
315 0 0 if ($config->{'redirect_to_language_url'}) { }
513 0 0 if (not $c->req->path =~ /$c->config->{'Plugin::I18N::PathPrefixGeoIP'}{'language_independent_paths'}/)
571 0 0 if $c->config->{'Plugin::I18N::PathPrefixGeoIP'}{'debug'}
587 0 0 unless ($ip)
590 0 0 unless ($record)
593 0 0 unless ($geocountry)