Branch Coverage

lib/DBIx/Schema/Changelog.pm
Criterion Covered Total %
branch 7 16 43.7


line true false branch
91 0 13 unless $$_{'id'}
93 0 13 if $self->_check_key($$_{'id'}, $hash)
96 13 0 if defined $$_{'entries'}
98 0 13 unless $self->insert_dblog->execute($$_{'id'}, $$_{'author'}, $file, $hash, $VERSION)
109 13 0 unless my(@resp) = $self->dbh->selectrow_array('select md5sum, changelog from ' . $self->db_changelog_table . " where id = '${id}'")
115 0 0 if $resp[0] ne $value
157 0 2 defined $$main{'prefix'} && $$main{'prefix'} ne '' ? :
162 0 2 defined $$main{'postfix'} && $$main{'postfix'} ne '' ? :