Condition Coverage

blib/lib/DBR/Query.pm
Criterion Covered Total %
condition 12 36 33.3


or 2 conditions

line l !l condition
44 0 0 $$self{'tables'} || undef
74 0 0 $$self{'where'} || undef
75 613 0 shift() || undef
87 0 0 $$self{'builder'} || undef
88 12 0 shift() || undef
99 0 0 $$self{'limit'} || undef
100 0 0 shift() || undef
107 0 0 $$self{'lock'} || undef
115 42 514 $$self{'quiet_error'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
21 1144 0 0 $params{'instance'} || croak('instance is required')
22 1144 0 0 $params{'session'} || croak('session is required')
77 0 613 0 not $part or ref($part) =~ /^DBR::Query::Part::(And|Or|Compare|Subquery|Join)$/
90 0 12 0 not $builder or ref $builder eq 'DBR::Interface::Where'
143 6 4 0 $$self{'builder'} ||= 'DBR::Interface::Where'->new('session', $$self{'session'}, 'instance', $$self{'instance'}, 'primary_table', $self->primary_table)
151 4 6 0 $$self{'child_queries'}{$ident} ||= $self->_new_child_query($where)