Branch Coverage

blib/lib/Game/Tibia/Packet/Login.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
60 0 2 unless (&blessed($self->{'rsa'}))
65 1 1 if (defined $self->{'packet'})
70 0 1 unless $decr =~ /^\0/u
74 1 0 Game::Tibia::Packet::version($self->{'version'}{'client'})->{'ACCNUM'} ? :
94 1 0 unless ref $self->{'version'}{'client'}
95 0 1 unless &blessed($rsa) or not $self->{'version'}{'client'}{'RSA'}
99 0 1 unless not defined $expected_rsa_size or $rsa->size == $expected_rsa_size
105 1 0 Game::Tibia::Packet::version($self->{'version'}{'client'})->{'ACCNUM'} ? :
111 1 0 if $self->{'version'}{'client'}{'RSA'}
115 0 1 if ($self->{'version'}{'client'}{'ADLER32'})