Branch Coverage

blib/lib/CPAN/SQLite/DBI/Index.pm
Criterion Covered Total %
branch 13 40 32.5


line true false branch
33 0 0 unless (my $sth = $CPAN::SQLite::DBI::Index::dists::dbh->prepare($sql))
37 0 0 unless ($sth->execute)
62 0 0 unless (my $sth = $CPAN::SQLite::DBI::Index::dbh->prepare($sql))
66 0 0 unless ($sth->execute)
95 0 4 unless defined $key and ref $key eq 'ARRAY'
101 0 5 unless ($sth->execute)
117 0 4 if (defined $sth->fetchrow_array)
118 0 0 unless ($CPAN::SQLite::DBI::Index::dbh->do("drop table $table"))
130 0 4 unless $schema
133 0 4 unless ($sth->execute)
144 0 1 unless $args{'setup'}
147 0 4 unless my $schema = $self->schema($CPAN::SQLite::DBI::Index::tables->{$table})
149 0 4 unless $obj->drop_table
150 0 4 unless $obj->create_table($schema)
151 0 4 unless $obj->create_index($CPAN::SQLite::DBI::Index::tables->{$table})
162 0 4 unless (my $sth = $CPAN::SQLite::DBI::Index::dbh->prepare($sql))
173 0 0 if $rep_id
174 0 0 unless (my $sth = $CPAN::SQLite::DBI::Index::dbh->prepare($sql))
184 0 1 if $rep_id
185 0 1 unless (my $sth = $CPAN::SQLite::DBI::Index::dbh->prepare($sql))