| blib/lib/DBIx/Schema/UpToDate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 22 | 86.3 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 0 | 1 | @_ == 1 ? : |
| 36 | 0 | 1 | if $$self{'auto_update'} |
| 47 | 22 | 2 | if ($$self{'transactions'}) |
| 49 | 2 | 20 | unless $dbh->$action |
| 73 | 5 | 4 | if (@$tables) |
| 77 | 4 | 1 | $$self{'sql_limit'} ? : |
| 81 | 5 | 0 | if defined $v |
| 97 | 1 | 2 | unless $dbh->do('CREATE TABLE ' . $self->quoted_table_name . " ($version integer, $updated timestamp)") |
| 131 | 1 | 11 | unless $dbh->do('INSERT INTO ' . $self->quoted_table_name . ' (' . join(', ', $self->quote_identifiers('version', 'updated')) . ') VALUES(?, ?)', {}, $version, time) |
| 167 | 2 | 2 | unless (defined $current) |
| 170 | 1 | 1 | unless defined $current |