| blib/lib/Class/DBI/Test/TempDB.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 18 | 61.1 |
| line | true | false | branch |
|---|---|---|---|
| 105 | 2 | 1 | if ($filename) { } |
| 136 | 3 | 0 | if -e $class->dbfile |
| 156 | 1 | 0 | unless ($class->db_Main == $entityClass->db_Main) |
| 162 | 0 | 1 | if $@ |
| 203 | 0 | 2 | unless my $sqlite_schema = $trans->translate('from', 'YAML', 'to', 'SQLite', 'filename', $yaml) |
| 220 | 0 | 2 | if -e $filename |
| 226 | 0 | 6 | if /^BEGIN\sTRANSACTION/ |
| 227 | 2 | 4 | if /^\W*COMMIT/ |
| 228 | 0 | 4 | unless $class->db_Main->do($_) |