Branch Coverage

blib/lib/SQL/Translator/Parser/Access.pm
Criterion Covered Total %
branch 10 22 45.4


line true false branch
384 1 0 unless defined $main::RD_ERRORS
385 1 0 unless defined $main::RD_WARN
386 1 0 unless defined $main::RD_HINT
388 0 1 $translator->trace ? :
394 0 1 unless defined $result
395 0 1 if $DEBUG
405 0 24 unless my $table = $schema->add_table('name', $tdata->{'table_name'})
425 0 145 unless my $field = $table->add_field('name', $fdata->{'name'}, 'data_type', $fdata->{'data_type'}, 'size', $fdata->{'size'}, 'default_value', $fdata->{'default'}, 'is_auto_increment', $fdata->{'is_auto_inc'}, 'is_nullable', $fdata->{'null'}, 'comments', $fdata->{'comments'})
428 0 145 if $fdata->{'is_primary_key'}
431 24 0 unless $tdata->{'indices'}
435 0 0 unless my $index = $table->add_index('name', $idata->{'name'}, 'type', uc $idata->{'type'}, 'fields', $idata->{'fields'})