Branch Coverage

lib/Win32/UrlCache.pm
Criterion Covered Total %
branch 1 48 2.0


line true false branch
8 0 1 if ($^O eq 'MSWin32') { }
37 0 0 unless open my $fh, '<', $file
51 0 0 unless ($read eq $header)
59 0 0 unless ($read == $$self{'_size'})
76 0 0 unless ($self->_read_from($pointer) eq 'HASH')
86 0 0 if $offset eq "\r\360\255\cK"
89 0 0 unless $int_offset
92 0 0 unless ($int_offset & 15) == 0
95 0 0 if $tag eq "\r\360\255\cK"
97 0 0 if ($tag =~ /^(?:URL|REDR|LEAK)/)
98 0 0 if $target and $target ne $tag
105 0 0 unless $pointer = $next_hash
117 0 0 if ($tag eq 'REDR')
124 0 0 if ($tag eq 'URL' or $tag eq 'LEAK')
136 0 0 $offset_to_filename ? :
139 0 0 $offset_to_headers ? :
152 0 0 unless $item
155 0 0 if ($options{'callback'})
157 0 0 unless $ret
160 0 0 if ($options{'extract_title'} and $$item{'filename'} and $^O eq 'MSWin32')
172 0 0 unless $$self{'URL'}
178 0 0 unless $$self{'REDR'}
184 0 0 unless $$self{'LEAK'}
231 0 0 unless defined $from