Branch Coverage

blib/lib/DBIx/Class/Schema/Versioned.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
251 0 0 if ($self->get_db_version)
258 0 0 if ($new_version)
343 0 0 unless ($db_version)
349 0 0 if ($db_version eq $self->schema_version)
357 0 0 unless scalar @version_list
361 0 0 if ref $version_list[0] eq 'ARRAY'
377 0 0 if (scalar @version_list < 2)
420 0 0 if ($db_version eq $target_version)
440 0 0 unless (-f $upgrade_file)
449 0 0 if $self->do_backup
491 0 0 unless $self->_filedata
497 0 0 if $self->storage->debug
499 0 0 if $self->storage->debug
515 0 0 unless $self->storage->dbh->do($_)
606 0 0 if $conn_attrs->{'ignore_version'} or $ENV{'DBIC_NO_VERSION_CHECK'} and not exists $conn_attrs->{'ignore_version'}
609 0 0 unless ($self->_source_exists($vtable))
611 0 0 if ($self->_source_exists($vtable_compat))
620 0 0 if ($pversion eq $self->schema_version)
626 0 0 unless ($pversion)
645 0 0 unless ($db)
650 0 0 unless ('DBIx::Class::Optional::Dependencies'->req_ok_for('deploy'))
686 0 0 unless (open $file, ">$filename")
703 0 0 $params->{'version'} ? :
738 0 0 unless open my $fh, '<', $file
744 0 0 if $_ and not /^--/