Branch Coverage

blib/lib/App/MFILE/HTTP.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
111 0 0 unless ref $ua eq 'LWP::UserAgent'
129 0 0 if ($ARGS{'nick'})
133 0 0 if ($ARGS{'method'} =~ /^(POST|PUT)$/u)
135 0 0 if (my $body = $ARGS{'req_body'})
188 0 0 if ($ce = $session->{'currentUser'} and $session->{'ip_addr'} and $session->{'ip_addr'} eq $remote_addr and _is_fresh($session))
199 0 0 if ($r->method eq 'POST' and $self->context->{'request_body'} and $self->context->{'request_body'}{'method'} and $self->context->{'request_body'}{'method'} =~ /^LOGIN/iu)
208 0 0 unless defined $App::MFILE::HTTP::meta->META_LOGIN_BYPASS_STATE
209 0 0 if ($App::MFILE::HTTP::site->MFILE_WWW_BYPASS_LOGIN_DIALOG and not $App::MFILE::HTTP::meta->META_LOGIN_BYPASS_STATE)
223 0 0 $r->method eq 'GET' ? :
238 0 0 unless my $last_seen = $session->{'last_seen'}
240 0 0 time - $last_seen > $App::MFILE::HTTP::site->MFILE_WWW_SESSION_EXPIRATION_TIME ? :