Branch Coverage

blib/lib/Net/Z3950/AsyncZ/Errors.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
42 0 0 if $_[0]
56 0 0 if $fh != \*STDOUT
58 0 0 if $err != \*STDERR
67 0 0 if $server
68 0 0 if $query
69 0 0 if $syntax
70 0 0 if $db
75 0 0 if (ref $filespec eq 'Net::Z3950::AsyncZ::SuppressErr') { }
0 0 elsif ($filespec) { }
77 0 0 if open SAVERR, '>&STDERR'
78 0 0 if _getSaveErr() != \*STDERR
82 0 0 if open FH, ">>$filespec" and $handle = \*FH and open SAVERR, '>&STDERR'
84 0 0 if (_getSaveErr() != \*STDERR)
85 0 0 if open STDERR, ">>$filespec" and select STDERR
105 0 0 if (defined $errno) { }
110 0 0 if (ref $parm) { }
117 0 0 if ($handle) { }
122 0 0 if ($msg)
138 0 0 unless suppress()
160 0 0 if $errorPrevious
163 0 0 if ($sig =~ /^\[(\d+)\]/)
168 0 0 unless (suppress())
178 0 0 if $pkg_2
179 0 0 if $pkg_3
181 0 0 if $sbr
183 0 0 if _getHost()
184 0 0 if _getDB()
185 0 0 if $sig
186 0 0 if $errno != errorval()
187 0 0 unless $sig
190 0 0 if $errno != errorval()
225 0 0 unless @ErrorStack
233 0 0 unless @ErrorStack