Branch Coverage

blib/lib/Test/MethodFixtures.pm
Criterion Covered Total %
branch 31 36 86.1


line true false branch
35 1 20 unless shift()
43 0 21 unless $VALID_MODES{$mode}
46 19 2 unless ref $storage
48 20 1 unless (&blessed($storage))
52 2 18 unless $storage_class =~ s/^\++//
56 0 20 if $@
59 0 20 unless $storage_args
95 23 4 if exists $stored->{$self_class}
98 23 4 if exists $stored->{$storage_class}
100 4 1 unless (defined $stored->{'output'} or $stored->{'no_output'})
110 0 46 if 'version'->parse($class->VERSION) < 'version'->parse($version)
121 10 40 if ($value)
143 22 27 if $mode eq 'record' or $mode eq 'passthrough'
160 4 23 if ($@) { }
161 1 3 unless $mode eq 'auto'
171 2 23 if $mode eq 'passthrough'
173 0 23 if $mode eq 'playback'
181 22 1 defined wantarray ? :