Branch Coverage

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


line true false branch
42 4 108 $_[1]->comments ? :
47 0 10 if ($self->add_comments) { }
54 96 51 $_[1]->is_nullable ? :
60 88 59 unless defined $default
65 7 37 if $exceptions and not ref $default and $exceptions->{$default}
66 8 51 if (ref $default) { }
32 19 elsif (not $self->numeric_types->{lc $field->data_type} && &Scalar::Util::looks_like_number($default)) { }
85 71 56 $field->size && !$self->sizeless_types->{$field->data_type} ? :
103 0 3 if $_[0]->add_comments