Branch Coverage

blib/lib/NoSQL/PL2SQL/Node.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
32 0 0 if $_[0] eq 'NoSQL::PL2SQL::Node'
34 0 0 ref $_[0] ? :
0 0 !defined($_[0]) ? :
37 0 0 @_ ? :
40 0 0 if defined $objectid
42 0 0 unless $dsn and $dsn->dbconnected
44 0 0 unless (defined $objectid)
55 0 0 if $_[0] eq 'NoSQL::PL2SQL::Node'
58 0 0 if @_ > 3
59 0 0 if ref $_[-1] eq 'HASH'
68 0 0 if $parent
93 0 0 unless $typemap{typeis $_}
94 0 0 wantarray ? :
118 0 0 if (@text == 1)
122 0 0 if ($svtype eq 'stringdata') { }
0 0 elsif ($svtype) { }
145 0 0 if $$attribs{'blessed_package'}
148 0 0 if not exists $$self{'sql'}{'textkey'} and exists $$attribs{'key'} and $$self{'parenttype'} eq 'hashref'
152 0 0 if not exists $$self{'sql'}{'intkey'} and exists $$attribs{'key'} and $$self{'parenttype'} eq 'arrayref'
164 0 0 if $_[0] eq 'NoSQL::PL2SQL::Node'
169 0 0 if length $text
170 0 0 @buff ? :
183 0 0 if ref $sql
191 0 0 unless $$self{'xml'}
197 0 0 if exists $$self{'key'} and $$self{'key'} eq 'string'
198 0 0 $$self{'combine'} ? :
207 0 0 unless $dsn
209 0 0 exists $$self{'combine'} ? :
213 0 0 exists $$combine{$_} ? :
219 0 0 if exists $$self{'sql'}{'reftype'}
221 0 0 exists $nvp{'id'} ? :
234 0 0 if $_[0] eq 'NoSQL::PL2SQL::Node'
241 0 0 unless @records
242 0 0 unless $records[0]{'key'} eq 'item'
245 0 0 unless @gd
246 0 0 if @gd > 1
255 0 0 if $_[0] eq 'NoSQL::PL2SQL::Node'
264 0 0 if ($self->memory and exists $refs{$self->memory})
271 0 0 if $self->memory
275 0 0 if exists $ids{$pid} and $$self{'key'} and $$self{'key'} ne 'string' and $$self{'key'} ne 'scalar'
281 0 0 if ($$self{'key'} eq 'perldata')
287 0 0 if exists $$self{'sql'}{'stringdata'}
292 0 0 if $self->memory and $$self{'key'} eq 'scalarref'
295 0 0 unless $$self{'key'} eq 'string'
297 0 0 if $self->memory