Branch Coverage

blib/lib/SQL/Translator/Producer/HTML.pm
Criterion Covered Total %
branch 24 44 54.5


line true false branch
27 0 1 defined $args->{'nowrap'} ? :
30 0 1 defined $args->{'nolinktable'} ? :
33 0 1 defined $args->{'stylesheet'} ? :
40 0 1 defined $args->{'pretty'} ? :
45 1 0 if ($wrap)
58 1 0 if ($linktable)
61 1 0 $count == 1 ? :
93 0 1 unless my $table_name = $table->name
94 0 1 unless my(@fields) = $table->get_fields
108 0 0 $_ ? :
0 1 if (my(@comments) = map({$_ ? $_ : ();} $table->comments))
138 2 0 defined $field->size ? :
139 0 2 defined $field->default_value ? :
144 0 2 if ($field->is_foreign_key)
153 1 1 if $field->is_primary_key
154 0 2 if $field->is_unique
155 1 1 unless $field->is_nullable
156 0 2 if $comment
157 1 1 $i++ % 2 ? :
174 0 1 if (my(@indices) = $table->get_indices)
200 0 1 if (@constraints)
225 1 0 if ($wrap)