| line |
true |
false |
branch |
|
16
|
0 |
105 |
if $pkg eq 'DBIx::Schema::DSL' |
|
56
|
3 |
0 |
if ($opt{'mysql_charset'} and $opt{'mysql_charset'} eq 'utf8mb4') |
|
96
|
1 |
2 |
if (my(@undefined_columns) = _detect_undefined_columns(\@columns, $index->{'fields'})) |
|
103
|
4 |
4 |
unless ref $cols |
|
104
|
0 |
8 |
if (my(@undefined_columns) = _detect_undefined_columns(\@columns, $cols)) |
|
110
|
12 |
2 |
if (my $pk = $data->{'primary_key'}) |
|
111
|
9 |
3 |
unless ref $pk |
|
112
|
1 |
11 |
if (my(@undefined_columns) = _detect_undefined_columns(\@columns, $pk)) |
|
132
|
1 |
55 |
if defined wantarray |
|
134
|
1 |
54 |
if (ref $opt[0] eq 'ARRAY') |
|
139
|
1 |
54 |
if (@opt % 2) |
|
143
|
0 |
54 |
if $data_type eq 'string' |
|
147
|
0 |
54 |
unless my $creating_data = $c->_creating_table |
|
164
|
50 |
274 |
if exists $opt{$key} |
|
171
|
3 |
51 |
if (exists $args{'unsigned'}) { } |
|
|
9 |
75 |
elsif ($c->default_unsigned and $data_type =~ /int(?:eger)?$/) { } |
|
178
|
1 |
53 |
if (exists $args{'on_update'}) |
|
182
|
1 |
53 |
if (exists $args{'list'}) |
|
187
|
2 |
52 |
if (not exists $args{'is_nullable'} and $c->default_not_null) |
|
191
|
15 |
39 |
if ($args{'data_type'} eq 'VARCHAR' and not $args{'size'}) |
|
195
|
2 |
52 |
if ($args{'precision'}) |
|
201
|
12 |
42 |
if ($args{'is_primary_key'}) { } |
|
|
5 |
37 |
elsif ($args{'is_unique'}) { } |
|
213
|
10 |
0 |
if ($args{'is_nullable'} and not exists $args{'default_value'} and not $args{'data_type'} =~ /^(?:TINY|MEDIUM|LONG)?(?:TEXT|BLOB)$/) |
|
221
|
7 |
2 |
if (defined wantarray) { } |
|
259
|
0 |
3 |
unless my $creating_data = $c->_creating_table |
|
268
|
0 |
2 |
unless my $creating_data = $c->_creating_table |
|
273
|
0 |
2 |
$type ? : |
|
283
|
0 |
1 |
unless my $creating_data = $c->_creating_table |
|
298
|
0 |
4 |
unless my $creating_data = $c->_creating_table |