| blib/lib/DBIx/SimpleMigration.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 8 | 16 | 50.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 17 | 0 | 1 | unless @_ % 2 == 0 | 
| 21 | 0 | 1 | unless $args{'dbh'} and ref $args{'dbh'} eq 'DBI::db' | 
| 24 | 0 | 1 | unless $args{'source'} and -d $args{'source'} | 
| 33 | 0 | 1 | if ($args{'options'}) | 
| 41 | 0 | 1 | if ($@) | 
| 59 | 1 | 0 | unless ($self->{'_client'}->_migrations_table_exists) | 
| 70 | 0 | 2 | if exists $applied_migrations->{$filename} | 
| 80 | 1 | 0 | if $self->{'_client'}{'dbh'} |