Branch Coverage

blib/lib/HTTP/Cookies/Find.pm
Criterion Covered Total %
branch 11 82 13.4


line true false branch
83 0 1 if ($^O =~ /win32/i) { }
1 0 elsif ($^O =~ /solaris/i or $^O =~ /linux/i) { }
99 0 0 if ($@)
108 0 0 if ($@)
115 0 0 if (not defined $sDir or $sDir eq '')
120 0 0 unless (-d $sDir)
129 0 0 if (-f $sFnameCookies) { }
141 0 0 if (ref $HTTP::Cookies::Find::oReal)
143 0 0 unless wantarray
153 0 0 unless (-f $sFnameWinIni)
161 0 0 unless (ref $oIniWin)
167 0 0 unless (defined $sFnameNSIni)
172 0 0 unless (-f $sFnameNSIni)
180 0 0 unless (ref $oIniNS)
189 0 0 if (ref $HTTP::Cookies::Find::oReal)
191 0 0 unless wantarray
200 0 0 unless (opendir DIR, $sProfileDir)
208 0 0 if (-d "$sProfileDir/$test" and -f "$sProfileDir/$test/cookies.txt")
215 0 0 unless closedir DIR
216 0 0 unless ($bMozFound)
222 0 0 if (ref $HTTP::Cookies::Find::oReal)
224 0 0 unless wantarray
243 1 0 unless ref $HTTP::Cookies::Find::oReal
247 0 1 if (ref $HTTP::Cookies::Find::oReal)
249 0 0 unless wantarray
257 0 1 if (ref $HTTP::Cookies::Find::oReal)
259 0 0 unless wantarray
267 1 0 unless (-f $sAppregFname)
283 0 1 if (ref $HTTP::Cookies::Find::oReal)
285 0 0 unless wantarray
294 0 1 wantarray ? :
315 0 0 $sClass =~ /Mozilla/ ? :
1 0 $sClass =~ /Netscape/ ? :
0 1 $sClass =~ /Microsoft/ ? :
321 1 0 unless (-f $sFnameCookies)
329 0 0 unless (ref $oRealNS)
342 0 0 unless (ref $oDummy)
348 0 0 if ref $oDummy
362 0 0 unless $val =~ /\@.*$HTTP::Cookies::Find::sHostGlobal/i
364 0 0 unless $val =~ /\\$HTTP::Cookies::Find::sUser\@/
381 0 0 if $HTTP::Cookies::Find::sHostGlobal ne '' and not $sDomain =~ /$HTTP::Cookies::Find::sHostGlobal/i