Branch Coverage

blib/lib/NNexus/DB.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
37 4 4 if ($options{'dbms'} eq 'SQLite' and !(-f $options{'dbname'}) || -z $options{'dbname'})
39 4 0 unless (-f $options{'dbname'})
54 22 8 if (defined $$self{'handle'} and $$self{'handle'}->ping) { }
66 8 0 if $$self{'dbms'} eq 'SQLite'
77 0 0 unless defined $dbh
109 25 169 unless (exists $$query_cache{$statement})