Branch Coverage

blib/lib/ODS/Storage/File.pm
Criterion Covered Total %
branch 17 32 53.1


line true false branch
50 0 4 @_ > 1 ? :
66 2 0 @_ > 1 ? :
68 2 0 $self->table->rows ? :
76 4 2 if ($params{$key} ne $row->{$key})
90 6 0 @_ > 1 ? :
92 6 0 $self->table->rows ? :
100 20 6 if ($params{$key} ne $row->{$key})
116 0 2 unless $find
135 2 0 @_ > 1 ? :
137 2 0 $self->table->rows ? :
143 6 2 if ($params{$key} ne $row->{$key})
168 2 0 if ($keyfield) { }
177 0 0 if ($r->$key ne $row->{$key})
200 0 4 unless open my $fh, "<:encoding(UTF-8)", $self->file
207 0 12 unless open my $fh, ">:encoding(UTF-8)", $self->save_file
213 0 0 unless scalar @args