Branch Coverage

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


line true false branch
44 1 1239 unless defined $offset
47 1 1238 if $offset >= $self->_data_source_size
73 38 1200 if ($type eq 'pointer')
81 25 2 wantarray ? :
85 108 1092 if ($type eq 'extended')
93 0 108 if $type_num < 8
109 221 979 if $type eq 'map'
112 24 955 if $type eq 'array'
115 2 953 if $type eq 'boolean'
119 924 29 if $size
125 165 788 $type =~ /^uint/ ? :
127 814 139 wantarray ? :
154 1 37 $pointer_size == 4 ? :
179 1 727 if $size == 0
208 1 10 if $size == 0
237 24 195 wantarray ? :
245 1 11 if $size == 0
263 157 8 $size <= $max_int_bytes ? :
264 24 141 if $size == 0
297 21 3 wantarray ? :
313 0 2 wantarray ? :
322 1 34 unless $expected == $actual
333 1186 14 if $size < 29
341 8 6 if ($size == 29) { }
4 2 elsif ($size == 30) { }