Branch Coverage

blib/lib/MaxMind/DB/Reader/Decoder.pm
Criterion Covered Total %
branch 48 50 96.0


line true false branch
44 1 1236 unless defined $offset
47 1 1235 if $offset >= $self->_data_source_size
73 37 1198 if ($type eq 'pointer')
81 24 2 wantarray ? :
85 108 1090 if ($type eq 'extended')
93 0 108 if $type_num < 8
109 221 977 if $type eq 'map'
112 24 953 if $type eq 'array'
115 2 951 if $type eq 'boolean'
119 922 29 if $size
125 164 787 $type =~ /^uint/ ? :
127 813 138 wantarray ? :
154 1 36 $pointer_size == 4 ? :
179 1 726 if $size == 0
208 1 10 if $size == 0
237 24 195 wantarray ? :
245 1 11 if $size == 0
263 156 8 $size <= $max_int_bytes ? :
264 24 140 if $size == 0
297 21 3 wantarray ? :
313 0 2 wantarray ? :
322 1 34 unless $expected == $actual
333 1184 14 if $size < 29
341 8 6 if ($size == 29) { }
4 2 elsif ($size == 30) { }