Branch Coverage

blib/lib/Game/Tibia/Packet/Charlist.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
69 0 3 if defined $self->{'packet'} and not defined $self->{'xtea'}
70 2 1 unless ref $self->{'version'}
72 2 1 if (defined $self->{'packet'})
81 2 0 if ($type eq 20) { }
0 0 elsif ($type eq 21) { }
0 0 elsif ($type eq 10) { }
89 2 0 if ($type eq 100)
121 2 0 if defined $self->{'motd'}
122 0 2 if defined $self->{'info'}
123 0 2 if defined $self->{'error'}
124 2 0 if (defined $self->{'characters'} and @{$self->{'characters'};} > 0)