Branch Coverage

blib/lib/CGI/Application/Plugin/RequireSSL.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
103 4 4 if ($phase eq 'CHECK')
137 1 1 if $args{$param}
152 0 2 if $self->query->request_method eq 'POST'
156 0 2 if $ENV{'REQUEST_URI'}
157 2 0 if ($new_mode eq 'https') { }
177 5 1 unless ($$self{'CGI::Application::Plugin::RequireSSLignore_check'})
181 4 1 if ($self->param('require_ssl') || $SSL_RUN_MODES{$rm} and not $self->query->https)
184 2 2 if ($self->param('rewrite_to_ssl')) { }
194 0 1 if ($self->query->https and not $$self{'CGI::Application::Plugin::RequireSSLkeep_in_ssl'} || $self->param('require_ssl') || $SSL_RUN_MODES{$rm})