Branch Coverage

blib/lib/DBIx/JSON.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
56 0 0 unless $self->_init(@_)
67 0 0 unless eval { do { $$self{'dbh'} = 'DBI'->connect("dbi:${driver}:$dsn", $userid, $passwd, {'PrintWarm', 0, 'PrintError', 1}) } }
73 0 0 if (not $$self{'dbh'}) { }
87 0 0 if ($key_field) { }
88 0 0 unless eval { do { $$self{'data'} = $$self{'dbh'}->selectall_hashref($sql, $key_field) } }
92 0 0 if ($$self{'dbh'}->err)
95 0 0 if ($hash_array)
100 0 0 unless eval { do { $$self{'data'} = $$self{'dbh'}->selectall_arrayref($sql) } }
102 0 0 if ($$self{'dbh'}->err)
112 0 0 unless eval { do { $$self{'dbh'}->do($sql) } }
114 0 0 if ($$self{'dbh'}->err)
122 0 0 if (ref $$self{'data'})
130 0 0 if ($self->has_data)
144 0 0 if ($$self{'dbh'}) { }
154 0 0 if ($$self{'dbh'}) { }
164 0 0 if ($$self{'dbh'}) { }