Condition Coverage

blib/lib/SQL/Translator/Generator/DDL/SQLServer.pm
Criterion Covered Total %
condition 12 28 42.8


and 3 conditions

line !l l&&!r l&&r condition
110 2 0 0 $on_delete && $on_delete ne 'NO ACTION'
2 0 0 $on_update && $on_update ne 'NO ACTION'

or 2 conditions

line l !l condition
50 31 0 $self->field_type($field) || die('type is required')
101 0 2 $constraint->on_delete || ''
102 0 2 $constraint->on_update || ''
106 0 4 uc $_ || ''
154 1 0 {$_->extra}->{'list'} || []

or 3 conditions

line l !l&&r !l&&!r condition
59 3 3 0 $_[1]->name || $_[1]->table->name . '_pk'
67 2 0 0 $_[1]->name || $_[1]->table->name . '_idx'
83 2 0 0 $constraint->name || $constraint->table->name . '_uc'
110 2 0 0 $constraint->name || $constraint->table->name . '_fk'