Branch Coverage

blib/lib/NNexus/DB.pm
Criterion Covered Total %
branch 5 12 41.6


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