Branch Coverage

blib/lib/Rubric/DBI/Setup.pm
Criterion Covered Total %
branch 7 22 31.8


line true false branch
34 8 1 if $dbh
67 0 6 if ($db_type eq 'Pg')
92 3 0 if ($version)
93 0 3 if ($version == 6) { }
98 0 0 if ($@) { }
109 0 0 if $class->_columns('SELECT * FROM entries LIMIT 1') == 8
112 0 0 if $class->_columns('SELECT * FROM users LIMIT 1') == 4
115 0 0 if $class->_columns('SELECT * FROM links LIMIT 1') == 3
117 0 0 if $class->_columns('SELECT * FROM links LIMIT 1') == 2
578 0 1 unless exists $from{$_}
579 1 0 unless defined $from{$_}