Branch Coverage

blib/lib/ORM/Db/DBI/SQLite.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
57 195 24 if (defined $str) { }
114 1 0 unless ($$self{'lost_connection'})
125 21 0 $self->_db_handler ? :
143 10 0 unless ($error->fatal)
148 9 1 $data ? :
153 9 1 if $data
157 43 0 if ($row =~ /^\s*([^\s]+)\s+([^\s]+)(.*?\s+default (NULL|\'[^\']*\'))?/i) { }
159 0 43 if $1 =~ /PRIMARY|UNIQUE|CHECK/
164 43 0 if $name =~ /^\[(.+)\]$/
165 0 43 if $name =~ /^(['"])(.+)\1$/
167 9 34 if (not defined $def) { }
4 30 elsif ($def eq 'NULL') { }
191 9 1 if (scalar %field)
198 9 0 unless ($error->fatal)
202 2 0 if (exists $field{$$data{'prop'}})
221 0 0 if defined $err