Branch Coverage

blib/lib/Test/MethodFixtures.pm
Criterion Covered Total %
branch 27 36 75.0


line true false branch
35 1 21 unless shift()
43 0 22 unless $VALID_MODES{$mode}
46 20 2 unless ref $storage
48 21 1 unless (&blessed($storage))
52 2 19 unless $storage_class =~ s/^\++//
56 0 21 if $@
59 0 21 unless $storage_args
92 0 25 if exists $stored->{'version'}
94 0 25 if exists $stored->{'storage_version'}
102 0 0 if 'version'->parse($class->VERSION) < 'version'->parse($version)
114 10 37 if ($value)
136 21 25 if $mode eq 'record' or $mode eq 'passthrough'
153 21 4 if (defined $retrieved) { }
156 1 3 unless $mode eq 'auto'
160 1 24 if ($@)
168 2 22 if $mode eq 'passthrough'
170 0 22 if $mode eq 'playback'
178 22 0 defined wantarray ? :