Branch Coverage

blib/lib/HTTP/Proxy/Selective.pm
Criterion Covered Total %
branch 19 34 55.8


line true false branch
24 0 1 if ($debug)
44 7 3 if $key =~ m[^/]
59 1 4 unless ($$self{'_myfilter'}{$uri->host})
61 0 0 if $$self{'_debug'}
64 0 4 if $$self{'_debug'}
67 2 3 if ($self->_filter_applies($myfilter, $path)) { }
77 0 3 if $$self{'_debug'}
80 0 2 if $$self{'_debug'}
92 2 1 if (__file_exists($fn)) { }
93 0 2 if $$self{'_debug'}
95 1 1 if ($req_headers->header('If-Modified-Since'))
96 1 0 if ($req_headers->if_modified_since == $stat->mtime)
109 0 1 if $$self{'_debug'}
120 2 2 if index($path, $match_path) == 0
126 0 0 if ($fn)
127 0 0 if ($fn =~ /\.([^.]+)$/)
129 0 0 if ($$self{'_mime_types'}{$ext})