Branch Coverage

blib/lib/Test/MethodFixtures.pm
Criterion Covered Total %
branch 33 40 82.5


line true false branch
35 0 20 unless shift()
43 0 20 unless $VALID_MODES{$mode}
46 18 2 unless ref $storage
48 19 1 unless (&blessed($storage))
52 0 19 unless $storage_class =~ s/^\++//
56 0 19 if $@
59 0 19 unless $storage_args
95 25 4 if exists $stored->{$self_class}
98 25 4 if exists $stored->{$storage_class}
100 4 3 unless (defined $stored->{'output'} or $stored->{'no_output'})
110 0 50 if 'version'->parse($class->VERSION) < 'version'->parse($version)
121 10 41 if ($value)
145 2 51 if $mode eq 'passthrough'
152 29 22 if ($mode eq 'playback' or $mode eq 'auto')
162 4 25 if ($@) { }
163 1 3 unless $mode eq 'auto'
174 25 0 if ($mode eq 'record' or $mode eq 'auto')
177 6 19 if (wantarray) { }
16 3 elsif (defined wantarray) { }
185 22 3 defined wantarray ? :