Branch Coverage

blib/lib/Persistence/Object/Simple.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
29 0 0 if $dope
42 0 0 if ($args{'__Create'} and lc $args{'__Create'} eq 'no')
46 0 0 if not -e $fn and $exists
47 0 0 unless ($fn)
49 0 0 unless $fn
57 0 0 if $existing
80 0 0 if (ref $self) { }
86 0 0 if ($args{'__Dope'} and $fn)
90 0 0 if -e $fn
93 0 0 unless ($fn)
94 0 0 unless $args{'__Dope'}
100 0 0 if $locked_fh
105 0 0 if (ref $self)
106 0 0 if /^__(?:Dumper|DOPE|Fn|Lock|Create)/
110 0 0 unless ($locked_fh)
113 0 0 if (($fn) = $fn =~ /^([^<>|+]+)$/) { }
122 0 0 $locked_fh ? :
0 0 defined &Data::Dumper::Dumpxs ? :
124 0 0 if $fh
126 0 0 if (ref $self)
128 0 0 if $locked_fh
139 0 0 unless -e $args{'__Fn'}
149 0 0 if ($objectfile =~ /^(\$VAR1 = bless[^;]+;)$/s) { }
0 0 elsif ($objectfile =~ /^$/) { }
151 0 0 if $@
153 0 0 if ref $object eq 'HASH'
166 0 0 if unlink $fn
176 0 0 if $args{'__Fnalter'}
189 0 0 unless -e $fn
190 0 0 unless open F, "+<$fn"
218 0 0 if $counter > $MAXTRIES