Branch Coverage

blib/lib/Test/VCR/LWP.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
67 16 7 if ($self->tape_is_blank) { }
99 13 2 if (not $$self{'skip_recording'}) { }
116 0 20 unless open my $fh, '>', $$self{'tape'}
122 0 20 unless close $fh
124 2 18 if $e
144 0 6 if $recorded->method ne $incoming->method
147 2 22 if $recorded->uri->$field ne $incoming->uri->$field
175 16 11 unless -e $$self{'tape'}
179 0 7 unless open my $fh, '<', $$self{'tape'}
181 0 7 unless close $fh
186 0 7 if $@
195 0 29 if ($ENV{'VCR_DEBUG'})
243 1 1 if ($caller eq '__ANON__')
276 1 3 unless ($__current_vcr)