Branch Coverage

blib/lib/Set/SegmentTree/ValueLookup.pm
Criterion Covered Total %
branch 38 78 48.7


line true false branch
11 2 2 if defined $args{'root'} and $args{'root'} != 0
16 2 2 if exists $args{'nodes'}
17 2 2 if defined $args{'created'} and $args{'created'} != 0
37 0 0 $_[1] == 0 ? :
0 28 @_ > 1 ? :
41 0 0 ref $_ && !UNIVERSAL::can($_, 'can') ? :
44 0 264 @_ > 1 ? :
45 0 0 $_[1] == 0 ? :
0 0 @_ > 1 ? :
50 2 0 unless ref $self
53 0 2 if ($offset == 0 and 'RTRE' ne substr($data, 4, 4))
61 2 0 if $offsets[0] != 0
62 2 0 if $offsets[1] != 0
63 2 0 if $offsets[2] != 0
88 0 2 if (exists $basic_types{$array_type}) { }
0 2 elsif ($array_type eq 'string') { }
0 2 elsif ($array_type =~ /\A\[/) { }
105 2 0 if ($array_type->flatbuffers_type eq 'table') { }
0 0 elsif ($array_type->flatbuffers_type eq 'struct') { }
125 2 2 if (not defined $cache) { }
143 2 0 defined $self->{'root'} ? :
2 0 defined $self->{'nodes'} ? :
2 0 defined $self->{'created'} ? :
151 2 0 if (defined $self->{'root'})
155 2 0 if (defined $self->{'nodes'})
162 2 0 if (defined $self->{'created'})
167 0 2 if length($data) % 4
191 94 110 if (defined $object->{'reloc'})
195 0 200 if (defined $reloc->{'lambda'}) { }
140 60 elsif (defined $reloc->{'type'} and $reloc->{'type'} eq 'unsigned delta') { }
60 0 elsif (defined $reloc->{'type'} and $reloc->{'type'} eq 'signed negative delta') { }
220 6 0 $_ ? :
226 2 0 if @table % 2
238 0 0 if length($data) % 4
253 0 2 if (exists $basic_types{$array_type}) { }
0 2 elsif ($array_type eq 'string') { }
0 2 elsif ($array_type =~ /\A\[/) { }
272 2 0 if ($array_type->flatbuffers_type eq 'table') { }
0 0 elsif ($array_type->flatbuffers_type eq 'struct') { }