| blib/lib/Mojo/Hakkefuin.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 26 | 38.4 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 1 | 3 | unless (-d $self->dir) |
| 27 | 4 | 0 | unless (-f $file_migration) |
| 28 | 0 | 4 | if $self->table_config |
| 39 | 4 | 0 | unless ($check->{'result'}) |
| 41 | 0 | 4 | unless $backend->create_table->{'code'} == 200 |
| 51 | 0 | 4 | if $self->via eq "mysql" |
| 56 | 0 | 4 | $self->table_config ? : |
| 58 | 0 | 4 | if $self->dsn |
| 63 | 0 | 0 | ref $load ? : |
| 0 | 4 | if $load | |
| 73 | 0 | 0 | if (-f $loc_file) { } |
| 74 | 0 | 0 | unless $self->backend->table->{'result'} |
| 79 | 0 | 0 | unless $self->backend->table->{'result'} |