Branch Coverage

blib/lib/Game/Tibia/Packet/Charlist.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
44 0 2 if exists $params{'tibia'} and not $params{'tibia'} =~ /^\d+$/u
73 0 4 unless defined $self->{'version'} and (761 <= $self->{'version'} and $self->{'version'} < 980)
74 0 4 if defined $self->{'packet'} and not defined $self->{'xtea'}
75 4 0 unless ref $self->{'version'}
77 3 1 if (defined $self->{'packet'})
86 3 0 if ($type eq 20) { }
0 0 elsif ($type eq 21) { }
0 0 elsif ($type eq 10) { }
94 3 0 if ($type eq 100)
126 2 0 if defined $self->{'motd'}
127 0 2 if defined $self->{'info'}
128 0 2 if defined $self->{'error'}
129 2 0 if (defined $self->{'characters'} and @{$self->{'characters'};} > 0)