Branch Coverage

blib/lib/Game/Tibia/Packet/Charlist.pm
Criterion Covered Total %
branch 11 24 45.8


line true false branch
66 0 3 unless defined $self->{'version'} and (761 <= $self->{'version'} and $self->{'version'} < 980)
67 0 3 if defined $self->{'packet'} and not defined $self->{'xtea'}
68 3 0 unless ref $self->{'version'}
70 2 1 if (defined $self->{'packet'})
79 2 0 if ($type eq 20) { }
0 0 elsif ($type eq 21) { }
0 0 elsif ($type eq 10) { }
87 2 0 if ($type eq 100)
119 2 0 if defined $self->{'motd'}
120 0 2 if defined $self->{'info'}
121 0 2 if defined $self->{'error'}
122 2 0 if (defined $self->{'characters'} and @{$self->{'characters'};} > 0)