Branch Coverage

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


line true false branch
81 0 1 if ($^O =~ /win32/i) { }
1 0 elsif ($^O =~ /solaris/i or $^O =~ /linux/i) { }
95 0 0 if ($@)
104 0 0 if ($@)
110 0 0 if ($sDir eq '')
115 0 0 unless (-d $sDir)
124 0 0 if (-f $sFnameCookies)
132 0 0 if (ref $HTTP::Cookies::Find::oReal)
134 0 0 unless wantarray
144 0 0 unless (-f $sFnameWinIni)
152 0 0 unless (ref $oIniWin)
158 0 0 unless (defined $sFnameNSIni)
163 0 0 unless (-f $sFnameNSIni)
171 0 0 unless (ref $oIniNS)
180 0 0 if (ref $HTTP::Cookies::Find::oReal)
182 0 0 unless wantarray
191 0 0 unless (opendir DIR, $sProfileDir)
199 0 0 if (-d "$sProfileDir/$test" and -f "$sProfileDir/$test/cookies.txt")
206 0 0 unless closedir DIR
207 0 0 unless ($bMozFound)
213 0 0 if (ref $HTTP::Cookies::Find::oReal)
215 0 0 unless wantarray
234 1 0 unless ref $HTTP::Cookies::Find::oReal
238 0 1 if (ref $HTTP::Cookies::Find::oReal)
240 0 0 unless wantarray
248 0 1 if (ref $HTTP::Cookies::Find::oReal)
250 0 0 unless wantarray
258 1 0 unless (-f $sAppregFname)
274 0 1 if (ref $HTTP::Cookies::Find::oReal)
276 0 0 unless wantarray
285 0 1 wantarray ? :
306 0 0 $sClass =~ /Mozilla/ ? :
1 0 $sClass =~ /Netscape/ ? :
0 1 $sClass =~ /Microsoft/ ? :
312 1 0 unless (-f $sFnameCookies)
320 0 0 unless (ref $oRealNS)
333 0 0 unless (ref $oDummy)
339 0 0 if ref $oDummy
354 0 0 unless $val =~ /\@.*$HTTP::Cookies::Find::sHostGlobal/i
356 0 0 unless $val =~ /\\$HTTP::Cookies::Find::sUser\@/
373 0 0 if $HTTP::Cookies::Find::sHostGlobal ne '' and not $sDomain =~ /$HTTP::Cookies::Find::sHostGlobal/i