Branch Coverage

blib/lib/CGI/Lazy/DB.pm
Criterion Covered Total %
branch 3 36 8.3


line true false branch
34 0 0 unless $sth->execute(@bindvars)
37 0 0 if ($@) { }
51 0 0 if (ref $bindvars[0])
52 0 0 if (ref $bindvars[0] eq 'ARRAY') { }
67 0 0 if ($@)
83 0 0 if (ref $bindvars[0])
84 0 0 if (ref $bindvars[0] eq 'ARRAY') { }
99 0 0 if ($@)
123 0 0 if ($@)
137 0 0 if (ref $bindvars[0])
138 0 0 if (ref $bindvars[0] eq 'ARRAY') { }
153 0 0 if ($@)
173 0 1 if ($q->plugin->dbh) { }
179 0 0 unless $$self{'_dbh'} = 'DBI'->connect($self->config->plugins->{'dbh'}{'dbDatasource'}, $self->config->plugins->{'dbh'}{'dbUser'}, $self->config->plugins->{'dbh'}{'dbPasswd'}, $self->config->plugins->{'dbh'}{'dbArgs'})
187 0 0 if ($@)
192 0 1 if ($q->vars->{'dbh'}) { }
0 1 elsif ($q->config->dbhVar) { }
199 0 0 if ($self->config->plugins->{'mod_perl'}) { }