Branch Coverage

blib/lib/Set/SegmentTree/node.pm
Criterion Covered Total %
branch 52 110 47.2


line true false branch
10 58 58 if defined $args{'min'} and $args{'min'} != 0
11 26 90 if defined $args{'low'} and $args{'low'} != 0
12 58 58 if defined $args{'max'} and $args{'max'} != 0
13 28 88 if defined $args{'high'} and $args{'high'} != 0
14 0 116 if defined $args{'split'} and $args{'split'} != 0
15 30 86 if exists $args{'segments'}
35 0 0 $_[1] == 0 ? :
0 0 @_ > 1 ? :
36 0 0 $_[1] == 0 ? :
0 286 @_ > 1 ? :
37 0 0 $_[1] == 0 ? :
0 0 @_ > 1 ? :
38 0 0 $_[1] == 0 ? :
0 290 @_ > 1 ? :
39 0 0 $_[1] == 0 ? :
0 0 @_ > 1 ? :
40 0 170 @_ > 1 ? :
45 58 0 unless ref $self
51 58 0 if $offsets[0] != 0
52 26 32 if $offsets[1] != 0
53 58 0 if $offsets[2] != 0
54 28 30 if $offsets[3] != 0
55 0 58 if $offsets[4] != 0
56 30 28 if $offsets[5] != 0
81 0 30 if (exists $basic_types{$array_type}) { }
30 0 elsif ($array_type eq 'string') { }
0 0 elsif ($array_type =~ /\A\[/) { }
98 0 0 if ($array_type->flatbuffers_type eq 'table') { }
0 0 elsif ($array_type->flatbuffers_type eq 'struct') { }
118 0 58 if (not defined $cache) { }
136 58 0 defined $self->{'min'} ? :
26 32 defined $self->{'low'} ? :
58 0 defined $self->{'max'} ? :
28 30 defined $self->{'high'} ? :
0 58 defined $self->{'split'} ? :
30 28 defined $self->{'segments'} ? :
144 58 0 if (defined $self->{'min'})
148 26 32 if (defined $self->{'low'})
152 58 0 if (defined $self->{'max'})
156 28 30 if (defined $self->{'high'})
160 0 58 if (defined $self->{'split'})
164 30 28 if (defined $self->{'segments'})
172 0 58 if length($data) % 4
196 0 0 if (defined $object->{'reloc'})
200 0 0 if (defined $reloc->{'lambda'}) { }
0 0 elsif (defined $reloc->{'type'} and $reloc->{'type'} eq 'unsigned delta') { }
0 0 elsif (defined $reloc->{'type'} and $reloc->{'type'} eq 'signed negative delta') { }
225 200 148 $_ ? :
231 0 58 if @table % 2
243 48 0 if length($data) % 4
258 0 30 if (exists $basic_types{$array_type}) { }
30 0 elsif ($array_type eq 'string') { }
0 0 elsif ($array_type =~ /\A\[/) { }
277 0 0 if ($array_type->flatbuffers_type eq 'table') { }
0 0 elsif ($array_type->flatbuffers_type eq 'struct') { }