| blib/lib/DBIx/Auto/Migrate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 14 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 13 | 0 | 4 | if (not $caller->can($sub)) |
| 34 | 0 | 1 | if (defined(my $extra_sub = $caller->can("extra"))) |
| 40 | 0 | 1 | if ("HASH" ne ref $extra) |
| 81 | 0 | 1 | if (_get_current_migration($dbh) > @migrations) |
| 84 | 0 | 1 | if (_get_current_migration($dbh) >= @migrations) |
| 117 | 0 | 3 | if ($@) |
| 128 | 0 | 3 | if (not $success) |