Branch Coverage

blib/lib/DBR/Query/Select.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
20 0 27 unless $$self{'fields'}
27 2 wantarray ? :
29 574 unless exists $_[0]
23 0 574 unless scalar @fields
27 0 2455 unless ref($_) =~ /^DBR::Config::Field/
39 0 564 unless my $conn = $self->instance->connect('conn')
46 535 29 if $$self{'where'}
47 0 564 if $$self{'lock'}
48 0 564 if $$self{'limit'}
55 0 1 unless $_[0]->fields
79 0 4 unless defined(my $idx = $$self{'splitfield'}->index)
83 0 4 unless defined $sth->execute
91 0 4 if $@
102 0 0 unless return $$self{'recordobj'} ||= 'DBR::Record::Maker'->new('session', $$self{'session'}, 'query', $self)