Branch Coverage

blib/lib/Catmandu/Store/DBI/Handler/SQLite.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
16 9 3 if ($map->{'type'} eq 'string') { }
0 3 elsif ($map->{'type'} eq 'integer') { }
3 0 elsif ($map->{'type'} eq 'binary') { }
28 5 7 if ($map->{'unique'})
31 5 7 if ($map->{'required'})
49 0 5 unless $dbh->do($sql)
52 12 0 if $map->{'unique'} or not $map->{'index'}
58 0 0 unless $dbh->do($idx_sql)
75 0 50 unless my $sth = $dbh->prepare_cached($sql)
77 0 50 unless $sth->execute(@values)