Branch Coverage

blib/lib/SQL/Translator/Generator/Role/DDL.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
54 2 84 $_[1]->comments ? :
59 0 9 if ($self->add_comments) { }
72 76 41 $_[1]->is_nullable ? :
78 68 49 unless defined $default
81 7 27 if $exceptions and not ref $default and $exceptions->{$default}
82 8 41 if (ref $default) { }
24 17 elsif (not $self->numeric_types->{lc $field->data_type} && &Scalar::Util::looks_like_number($default)) { }
100 61 42 $field->size && !$self->sizeless_types->{$field->data_type} ? :
118 0 2 if $_[0]->add_comments