| lib/File/DataClass/Storage.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 24 | 70.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 76 | 12 | 6 | 0 | not $updating and exists $data->{$rsrc_name}{$id} |
| 99 | 1 | 5 | 0 | exists $data->{$rsrc_name} and exists $data->{$rsrc_name}{$id} |
| 171 | 30 | 6 | 0 | $for_update and not $path->exists |
| 253 | 7 | 18 | 3 | $exists and $self->backup |
| 25 | 0 | 3 | $exists and $self->backup and not $path->empty |
| line | l | !l | condition |
|---|---|---|---|
| 74 | 12 | 6 | $data->{$rsrc_name} //= {} |
| 226 | 0 | 11 | $updating //= 1 |
| 0 | 11 | $cond //= sub { 1; } |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 249 | 12 | 16 | 0 | $create or $exists |