Branch Coverage

blib/lib/Plack/Auth/SSO/CAS.pm
Criterion Covered Total %
branch 9 20 45.0


line true false branch
32 0 0 if (is_instance($obj, 'XML::LibXML')) { }
49 0 0 if (@nodes) { }
80 0 3 if ($log->is_debug)
91 0 3 if (is_hash_ref($auth_sso))
104 2 1 if ($idx >= 0)
112 1 2 if (is_string($ticket) and $self->csrf_token_valid($session, $state)) { }
1 1 elsif (is_string($ticket)) { }
121 1 0 if ($r->is_success) { }
0 0 elsif ($r->is_error) { }
166 0 0 if ($failure->{'type'} ne 'INVALID_TICKET')