Branch Coverage

blib/lib/DBIx/SchemaChecksum/App/ApplyChanges.pm
Criterion Covered Total %
branch 21 40 52.5


line true false branch
29 6 0 if exists $update_path->{$this_checksum}
31 0 6 unless ($update)
35 0 0 if ($update_entry->[$post_checksum_index] eq 'SAME_CHECKSUM')
39 0 0 if ($$update_entry[$post_checksum_index + 1] eq $this_checksum)
50 2 4 if ($update->[0] eq 'SAME_CHECKSUM') { }
51 0 2 unless $update->[1]
65 1 5 $self->checksum eq $expected_post_checksum ? :
68 1 5 if ($no_checksum_change) { }
75 6 0 if ($answer eq 'y') { }
0 0 elsif ($answer eq 's') { }
76 0 6 if $self->verbose
85 0 6 if ($content =~ /--\s*split-at:\s*(\S+)\n/s)
95 6 5 unless $command
96 0 5 if $self->verbose
103 0 0 unless $dbh->{'PrintError'}
107 0 5 unless $success
108 0 5 if $self->verbose
111 0 6 if ($self->dry_run)
121 6 0 if ($post_checksum eq $expected_post_checksum) { }
124 4 2 if ($self->_update_path->{$post_checksum}) { }