Branch Coverage

blib/lib/Geoffrey/Action/Constraint.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
92 0 3 unless ($self->can($s_obj_sub))
99 0 1 if scalar @a_result == 0
100 1 0 if scalar @a_result == 1
106 84 38 unless defined $b_for_table
114 1 1 unless defined $b_dryrun
122 80 4 if $self->for_table
131 1 2 unless (&Ref::Util::is_hashref($hr_params))
140 1 1 unless ($s_table_name)
149 1 79 if ($hr_column_params->{'primarykey'} and $hr_column_params->{'primarykey'} != 1)
161 17 62 if ($hr_column_params->{'foreignkey'})
165 0 17 if $hr_column_params->{'schema'}
171 54 25 $hr_column_params->{'notnull'} ? :
172 10 69 defined $hr_column_params->{'primarykey'} ? :
179 78 1 unless $hr_unique_params->{'unique'}
184 1 0 &Ref::Util::is_hashref($hr_unique_params->{'unique'}) ? :