lib/Data/Dumper/Store.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 14 | 64.2 |
line | true | false | branch |
---|---|---|---|
27 | 1 | 6 | unless defined $opts{'file'} |
41 | 1 | 5 | unless -e $$self{'file'} |
42 | 0 | 5 | unless open my $fh, '<', $$self{'file'} |
47 | 0 | 5 | if $@ |
55 | 0 | 2 | unless defined $data and ref $data and ref $data eq 'HASH' |
72 | 0 | 5 | unless $key |
86 | 0 | 7 | unless open my $fh, '>', $$self{'file'} |