Branch Coverage

blib/lib/Net/STOMP/Client/Auth.pm
Criterion Covered Total %
branch 1 32 3.1


line true false branch
39 0 0 if ref $auth eq ""
41 0 0 if ref $auth and $auth->isa("Authen::Credential")
55 1 0 unless $self or $Authen::Credential::VERSION
58 0 0 unless $self
61 0 0 unless $self->{'auth'}
62 0 0 if (ref $self->{'auth'} eq 'ARRAY') { }
71 0 0 if ($scheme eq 'x509') { }
0 0 elsif ($scheme eq 'none') { }
0 0 elsif ($scheme eq 'plain') { }
73 0 0 if exists $self->{'x509_auth'}
77 0 0 if exists $self->{'plain_auth'}
81 0 0 if exists $self->{'plain_auth'}
88 0 0 if ($self->{'x509_auth'})
103 0 0 unless $self->{'plain_auth'}
105 0 0 unless defined $frame->header("login")
107 0 0 unless defined $frame->header("passcode")