Branch Coverage

blib/lib/Convos/Controller/User.pm
Criterion Covered Total %
branch 7 38 18.4


line true false branch
13 0 2 $ENV{'CONVOS_DEBUG'} ? :
26 0 0 if ($self->session('login')) { }
0 0 elsif ($self->req->url->path =~ /\.json$/) { }
49 0 0 if ($self->req->method ne 'POST')
74 0 3 unless ($self->app->config->{'redis_version'})
83 0 0 $server_info =~ /redis_version:(\d+\.\d+)/ ? :
92 0 3 if ($self->session('login'))
96 3 0 if ($self->req->method ne 'POST')
107 0 0 if $error
127 0 1 if ($self->session('login'))
134 0 1 if ($invite_code and $invite_code ne ($self->param('invite') || ''))
137 1 0 if ($self->req->method ne 'POST')
157 0 0 if $exists
158 0 0 if $validation->has_error
197 0 0 $self->req->method eq 'POST' ? :
202 0 0 if $method eq 'render'
204 0 0 if $self->stash('full_page')
208 0 0 if ref $user ne 'HASH'
237 0 0 if $validation->has_error