Branch Coverage

blib/lib/JSON_File.pm
Criterion Covered Total %
branch 19 44 43.1


line true false branch
73 86 0 if (-f $self->abs_filename) { }
76 0 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
87 8 8 if ($self->tied eq 'HASH') { }
8 0 elsif ($self->tied eq 'ARRAY') { }
98 1 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
137 12 16 if ($self->tied eq 'HASH') { }
16 0 elsif ($self->tied eq 'ARRAY') { }
196 6 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
210 2 1 if ($self->tied eq 'HASH') { }
1 0 elsif ($self->tied eq 'ARRAY') { }
222 6 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
224 6 0 defined $first ? :
226 0 0 scalar @{$self->data;} ? :
232 18 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
236 18 18 if ($key eq $last)
237 12 6 if (@sorted_keys) { }
246 0 0 if ($last < $last_index) { }