Branch Coverage

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


line true false branch
13 2 2 if defined $args{'root'} and $args{'root'} != 0
18 2 2 if exists $args{'nodes'}
19 2 2 if defined $args{'created'} and $args{'created'} != 0
39 0 0 $_[1] == 0 ? :
0 28 @_ > 1 ? :
43 0 0 ref $_ && !UNIVERSAL::can($_, 'can') ? :
46 0 264 @_ > 1 ? :
47 0 0 $_[1] == 0 ? :
0 0 @_ > 1 ? :
52 2 0 unless ref $self
55 0 2 if ($offset == 0 and 'RTRE' ne substr($data, 4, 4))
63 2 0 if $offsets[0] != 0
64 2 0 if $offsets[1] != 0
65 2 0 if $offsets[2] != 0
90 0 2 if (exists $basic_types{$array_type}) { }
0 2 elsif ($array_type eq 'string') { }
0 2 elsif ($array_type =~ /\A\[/) { }
107 2 0 if ($array_type->flatbuffers_type eq 'table') { }
0 0 elsif ($array_type->flatbuffers_type eq 'struct') { }
127 2 2 if (not defined $cache) { }
145 2 0 defined $self->{'root'} ? :
2 0 defined $self->{'nodes'} ? :
2 0 defined $self->{'created'} ? :
153 2 0 if (defined $self->{'root'})
157 2 0 if (defined $self->{'nodes'})
164 2 0 if (defined $self->{'created'})
169 0 2 if length($data) % 4
193 94 110 if (defined $object->{'reloc'})
197 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') { }
222 6 0 $_ ? :
228 2 0 if @table % 2
240 0 0 if length($data) % 4
255 0 2 if (exists $basic_types{$array_type}) { }
0 2 elsif ($array_type eq 'string') { }
0 2 elsif ($array_type =~ /\A\[/) { }
274 2 0 if ($array_type->flatbuffers_type eq 'table') { }
0 0 elsif ($array_type->flatbuffers_type eq 'struct') { }