Branch Coverage

lib/Mozilla/Persona/Server.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
34 0 0 unless $$self{'MP_pem_fn'} = $$args{'private_pem'}
35 0 0 unless $$self{'MP_cookie'} = $$args{'cookie_name'}
36 0 0 unless $$self{'MP_domain'} = $$args{'domain'}
61 0 0 if $$self{'MP_aliases'}
67 0 0 unless my $class = delete $$config{'class'}
68 0 0 if $@
76 0 0 if $$self{'MP_validator'}
82 0 0 unless my $class = delete $$config{'class'}
83 0 0 if $@
103 0 0 unless my $cookie = $cgi->cookie($self->cookie)
106 0 0 unless my $session = 'CGI::Session'->new('driver:File', $cookie)
135 0 0 unless my $key = $self->privatePEM
149 0 0 unless my $user_pubkey = $cgi->param('pubkey')
154 0 0 unless my $email = $cgi->param('email')
157 0 0 unless $self->isAliasFor($user, $email)
171 0 0 unless my $email = $cgi->param('email')
174 0 0 unless my $password = $cgi->param('password')
181 0 0 unless defined $user
188 0 0 if (my $cookie = $cgi->cookie($self->cookie))
192 0 0 if ($session) { }
219 0 0 if (my $cookie = $cgi->cookie($self->cookie)) { }
221 0 0 if (my $session = 'CGI::Session'->new('driver:File', $cookie)) { }
224 0 0 $is_logged_in ? :
252 0 0 unless @aliases