Branch Coverage

blib/lib/SQL/Translator/Producer/JSON.pm
Criterion Covered Total %
branch 16 32 50.0


line true false branch
56 0 1 keys %{$schema->extra;} ? :
80 1 1 $table->comments ? :
0 2 keys %{$table->extra;} ? :
90 0 5 if (ref $_) { }
96 0 1 if (ref $_) { }
99 0 5 keys %{$constraint->extra;} ? :
119 1 9 $field->is_auto_increment ? :
1 9 $field->comments ? :
1 9 keys %{$field->extra;} ? :
133 0 0 $procedure->comments ? :
0 0 keys %{$procedure->extra;} ? :
153 1 0 defined $trigger->scope ? :
0 1 keys %{$trigger->extra;} ? :
165 0 1 keys %{$view->extra;} ? :
176 0 0 ref $_ && $_->extra && keys %{$_->extra;} ? :
180 0 0 keys %{$index->extra;} ? :