Branch Coverage

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


line true false branch
64 16 7 if ($self->tape_is_blank) { }
97 13 2 unless ($$self{'skip_recording'})
110 0 20 unless open my $fh, '>', $$self{'tape'}
116 0 20 unless close $fh
118 2 18 if $e
138 0 6 if $recorded->method ne $incoming->method
141 2 22 if $recorded->uri->$field ne $incoming->uri->$field
169 16 11 unless -e $$self{'tape'}
173 0 7 unless open my $fh, '<', $$self{'tape'}
175 0 7 unless close $fh
180 0 7 if $@
189 0 19 if ($ENV{'VCR_DEBUG'})
237 1 1 if ($caller eq '__ANON__')
270 1 3 unless ($__current_vcr)