| blib/lib/DBIx/SimpleMigration/Migration.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 7 | 16 | 43.7 | 
| line | true | false | branch | 
|---|---|---|---|
| 16 | 0 | 2 | unless @_ % 2 == 0 | 
| 20 | 0 | 2 | unless $args{'file'} and -f $args{'file'} | 
| 22 | 0 | 2 | unless $args{'client'} | 
| 31 | 0 | 2 | unless open FH, '<', $args{'file'} | 
| 49 | 0 | 2 | unless ($self->{'_client'}->_lock_migrations_table) | 
| 59 | 0 | 2 | if ($@) | 
| 60 | 0 | 0 | unless $self->{'_client'}{'dbh'}->rollback | 
| 64 | 0 | 2 | unless ($self->{'_client'}->_insert_migration($self->{'_key'})) |