Branch Coverage

lib/CGI/Mungo/Utils.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
57 0 2 if (exists $ENV{'HTTPS'}) { }
63 2 0 if ($ENV{'HTTP_HOST'} =~ /^([^\:]+)(\:\d+|)$/) { }
65 2 0 if (exists $ENV{'SERVER_PORT'})
66 0 2 if (exists $ENV{'HTTPS'} and $ENV{'SERVER_PORT'} != 443) { }
2 0 elsif (not exists $ENV{'HTTPS'} and $ENV{'SERVER_PORT'} != 80) { }
82 1 0 if ($scriptName) { }