Branch Coverage

blib/lib/JSON_File.pm
Criterion Covered Total %
branch 18 44 40.9


line true false branch
76 77 0 if (-f $self->abs_filename) { }
79 0 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
90 4 8 if ($self->tied eq 'HASH') { }
8 0 elsif ($self->tied eq 'ARRAY') { }
101 0 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
140 16 16 if ($self->tied eq 'HASH') { }
16 0 elsif ($self->tied eq 'ARRAY') { }
199 4 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
213 2 1 if ($self->tied eq 'HASH') { }
1 0 elsif ($self->tied eq 'ARRAY') { }
225 6 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
227 6 0 defined $first ? :
229 0 0 scalar @{$self->data;} ? :
235 12 0 if ($self->tied eq 'HASH') { }
0 0 elsif ($self->tied eq 'ARRAY') { }
239 12 9 if ($key eq $last)
240 6 6 if (@sorted_keys) { }
249 0 0 if ($last < $last_index) { }