| line |
true |
false |
branch |
|
29
|
2355 |
0 |
unless ${"${pkg}::DEBUG";} |
|
46
|
0 |
21 |
unless my $name = shift() |
|
69
|
226 |
351 |
if (defined $config->{'quote_identifiers'}) { } |
|
|
9 |
342 |
elsif (defined $config->{'quote_table_names'} xor defined $config->{'quote_field_names'}) { } |
|
|
113 |
229 |
elsif (defined $config->{'quote_table_names'}) { } |
|
74
|
0 |
452 |
if defined $config->{$_} |
|
83
|
9 |
0 |
if (defined $config->{'quote_table_names'}) { } |
|
85
|
0 |
9 |
unless $config->{'quote_table_names'} |
|
86
|
9 |
0 |
$config->{'quote_table_names'} ? : |
|
90
|
0 |
0 |
unless $config->{'quote_field_names'} |
|
91
|
0 |
0 |
$config->{'quote_field_names'} ? : |
|
97
|
1 |
112 |
if $config->{'quote_table_names'} xor $config->{'quote_field_names'} |
|
99
|
70 |
42 |
$config->{'quote_table_names'} ? : |
|
110
|
9 |
7 |
unless defined $comment_char |
|
129
|
3428 |
9429 |
UNIVERSAL::isa($_[0], 'ARRAY') ? : |
|
134
|
431 |
12426 |
if (@$list and ref $list->[0]) { } |
|
144
|
3147 |
8 |
if defined $_ |
|
152
|
115 |
15 |
unless defined $desired_name and length $desired_name > $max_symbol_length |
|
172
|
51 |
15 |
unless $v |
|
179
|
8 |
7 |
if ($v =~ / ^ (\d+) \. (\d{1,3}) (?: \. (\d{1,3}) )? $ /x) { } |
|
|
4 |
3 |
elsif ($v =~ / ^ (\d) (\d{2}) (\d{2}) $ /x) { } |
|
|
2 |
1 |
elsif ($v =~ / ^ (\d+) (?: \. (\d{3}) (\d{3}) )? $ /x) { } |
|
197
|
7 |
7 |
if ($target eq 'perl') { } |
|
|
7 |
0 |
elsif ($target eq 'mysql') { } |
|
198
|
6 |
15 |
unless $_ |
|
201
|
4 |
17 |
unless $_ |
|
212
|
16 |
0 |
unless $v |
|
217
|
0 |
0 |
if ($v =~ / ^ (\d+) \. (\d{1,3}) (?: \. (\d{1,3}) )? $ /x) { } |
|
|
0 |
0 |
elsif ($v =~ / ^ (\d+) (?: \. (\d{3}) (\d{3}) )? $ /x) { } |
|
230
|
0 |
0 |
if ($target eq 'perl') { } |
|
|
0 |
0 |
elsif ($target eq 'native') { } |
|
231
|
0 |
0 |
unless $_ |
|
248
|
0 |
70 |
unless eval "require SQL::Translator::Parser::$type" |
|
252
|
2 |
68 |
if ($type eq 'DB2') |
|
260
|
0 |
68 |
unless ${"SQL::Translator::Parser::${type}::GRAMMAR";} |
|
340
|
0 |
0 |
unless $INC{$rel_path} |
|
351
|
0 |
0 |
-f 'File::Spec'->catfile($root, 'Makefile.PL') ? : |
|
374
|
1055 |
0 |
defined $_ ? : |
|
388
|
1 |
21 |
unless &blessed($_) and $_->isa('SQL::Translator::Utils::Error') |
|
397
|
0 |
666 |
if @_ |
|
405
|
47 |
4 |
unless @meths |
|
421
|
0 |
75 |
unless my $meth = $package->can($_) |
|
422
|
34 |
76 |
ref $_ eq 'ARRAY' ? : |
|
423
|
64 |
424 |
unless $diff_hash->{$_} |