Branch Coverage

blib/lib/HDB.pm
Criterion Covered Total %
branch 5 82 6.1


line true false branch
31 0 1 if $REQUIRED
54 0 0 if UNIVERSAL::isa($HDB::HPL_Run_MAIN, 'UNIVERSAL')
55 0 0 if UNIVERSAL::isa($main::HPL, 'UNIVERSAL')
85 0 1 if ($_[0] =~ /HPL/i)
97 0 0 if ($#_ == 0 and ref $_[0] and UNIVERSAL::isa($_[0], 'HDB'))
98 0 0 if (ref $_[0] eq 'HDB')
112 0 0 if (ref $_[0])
121 0 0 if ($WITH_HPL and $id ne '') { }
124 0 0 if ($hpl)
127 0 0 if ($id eq 'hploo' and not ${"${hpl_root}::MYHDB::DB";}{$id})
129 0 0 if ($id)
136 0 0 unless ($obj)
141 0 0 unless ($DB{$id})
155 0 0 if (ref $_[0] and UNIVERSAL::isa($_[0], 'HDB')) { }
175 0 0 if defined $$this{'file'}
180 0 0 if ($$this{'type'} eq 'auto') { }
181 0 0 if (defined $$this{'file'}) { }
190 0 0 if $$this{'type'} eq ''
194 0 0 unless (&_require_module($type))
198 0 0 unless $this
200 0 0 if ($$this{'conf_hpl'} || $WITH_HPL and $$this{'file'})
202 0 0 if (defined $hpl->env->{'DOCUMENT_ROOT'})
213 0 0 unless ($this and $this->connected and $this->dbh)
215 0 0 if ($$this{'dynamic'} and $$this{'id'} ne '')
216 0 0 if ($WITH_HPL) { }
219 0 0 if ($hpl)
228 0 0 if ($WITH_HPL)
241 0 0 if $hpl
250 0 0 if ($_[0]{'dbh'})
270 0 0 if ($_[0]{'sth'})
275 0 0 if ($_[0] and not $_[0]{'warning'})
276 0 0 if ($_[0] and ref $_[0]{'warning'} eq 'CODE') { }
278 0 0 if ($WITH_HPL) { }
280 0 0 if $hpl
299 0 0 if $MOD_LOADED{$module}
301 0 0 if $@
321 0 0 if defined &HDB::Object::RESET and !$WITH_HPL || $RESET_X > 10
323 0 1 if ($WITH_HPL)
325 0 0 if ($hpl)
337 1 0 if defined &HDB::Parser::RESET and !$WITH_HPL || $RESET_X > 10
339 0 1 if $RESET_X > 10