Branch Coverage

blib/lib/Mojolicious/Plugin/MozPersona.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
38 0 0 unless $_[2]
40 0 0 unless exists $conf{'autoHook'}
42 0 0 if (ref $conf{'autoHook'} and not exists $conf{'autoHook'}{$h})
53 0 0 unless $conf{'audience'}
54 0 0 unless $conf{'siteName'}
79 0 0 if ($conf{'autoHook'})
82 0 0 if ($conf{'autoHook'}{'css'})
86 0 0 if (my $jq = $conf{'autoHook'}{'jquery'})
87 0 0 if ($jq eq 'cdn') { }
0 0 elsif ($jq eq 'bundled' or $jq) { }
98 0 0 if ($conf{'autoHook'}{'persona'})
101 0 0 if ($conf{'autoHook'}{'local'})
108 0 0 unless index($c->res->headers->content_type, 'html') >= 0
112 0 0 if ($conf{'autoHook'}{'uid'}) { }
0 0 elsif ($head_block) { }
113 0 0 if (defined $c->session('_persona') and $c->session('_persona')->{'status'} eq 'okay') { }
129 0 0 if ($end_block)