Condition Coverage

blib/lib/Plack/App/URLMap.pm
Criterion Covered Total %
condition 12 15 80.0


and 3 conditions

line !l l&&!r l&&r condition
47 0 0 30 $http_host and my $port = $env->{'SERVER_PORT'}

or 3 conditions

line l !l&&r !l&&!r condition
56 47 4 15 not defined $host or $http_host eq $host
51 0 15 not defined $host or $http_host eq $host or $server_name eq $host
59 14 19 18 $location eq "" or $path =~ s/$location_re//
60 11 19 3 $path eq "" or $path =~ m[^/]