Branch Coverage

blib/lib/Rose/Planter/DB.pm
Criterion Covered Total %
branch 10 52 19.2


line true false branch
111 0 1 unless my $module_name = $args{'module_name'}
115 1 0 $ENV{'HARNESS_ACTIVE'} && 'Module::Build::Database'->can('current') && -d './_build' ? :
120 0 1 $ENV{$live_env_var} ? :
121 0 1 unless $conf or $we_are_testing
136 1 0 if ($we_are_testing)
139 0 1 unless $mbd->notes('dbtest_host') or $register_params
141 0 1 $mbd->can('database_options') ? :
142 0 1 if ($opts{'name'})
145 0 1 if $mbd->notes('dbtest_host')
155 0 0 if ($conf->db('default', ''))
156 0 0 $we_are_live ? :
160 0 0 if $@
167 0 0 unless ($conf->databases('is_defined', 1))
172 0 0 unless $conf->databases->dev('is_defined', 1)
175 0 0 if $conf->databases->dev('is_defined', 1)
176 0 0 if $conf->databases->live('is_defined', 1)
178 0 0 $we_are_live ? :
190 0 0 unless my $module_name = shift()
203 0 0 unless $class->domain =~ /^(dev|test)$/
222 0 2 if $table =~ /^v_/
236 0 0 ref $class ? :
238 0 0 unless $sth->execute(@bind)
242 0 0 unless ref $names and ref $types
246 0 0 unless grep /int8/, @$types
249 0 0 if $name2type{$_} eq 'int8'
253 0 0 unless defined $row->{$col}