Branch Coverage

blib/lib/GitDDL/Migrator.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
65 0 0 defined $args{'back'} ? :
67 0 0 unless $self->version_table =~ /^[a-zA-Z_]+$/
83 0 0 if (@_)
86 0 0 if ($self->database_version)
99 0 0 $self->_db eq 'MySQL' ? :
114 0 0 unless $translator->parser($self->_db)
126 0 0 unless $translator->translate($tmp_fh->filename)
152 0 0 if (not $version and $self->check_version)
158 0 0 if (not $version) { }
160 0 0 unless $target->translate('File::Spec'->catfile($self->work_tree, $self->ddl_file))
167 0 0 !$reverse ? :
187 0 0 if $table_name eq $self->version_table
214 0 0 if $table_name eq $self->version_table
230 0 0 unless $real_diff =~ /\A\s*-- No differences found;\s*\z/ms
242 0 0 unless $prev_version
255 0 0 unless $self->database_version
260 0 0 if $sql =~ /\A\s*\z/ms
269 0 0 if (not $self->database_version) { }
281 0 0 unless (length $version == 40)
298 0 0 unless $self->_dbh->do("INSERT INTO @{[$self->version_table];} (version, upgraded_at, sql_text) VALUES (?, ?, ?)", {}, $version, $upgraded_at, $sql)