Condition Coverage

blib/lib/SQL/Translator/Producer/SQLite.pm
Criterion Covered Total %
condition 31 51 60.7


and 3 conditions

line !l l&&!r l&&r condition
66 0 5 5 $translator->quote_identifiers and $translator->quote_identifiers ne '0E0'
144 6 0 2 exists $extra->{'temporary'} and $extra->{'temporary'}
146 6 0 2 exists $extra->{'if_not_exists'} and $extra->{'if_not_exists'}
198 29 0 0 $table->comments and not $no_comments
218 9 18 0 @pk_fields and not grep(/INTEGER PRIMARY KEY/, @field_defs)
448 1 0 4 @{$diffs->{'rename_field'};} == 0 and @{$diffs->{'alter_field'};} == 0
1 2 2 @{$diffs->{'rename_field'};} == 0 and @{$diffs->{'alter_field'};} == 0 and @{$diffs->{'drop_field'};} == 0
462 0 3 0 $diffs->{'rename_table'} and @{$diffs->{'rename_table'};}

or 2 conditions

line l !l condition
112 0 28 $scope ||= \%global_names
172 0 29 $options->{'sqlite_version'} || 0
367 4 0 $trigger->action->{'steps'} || []

or 3 conditions

line l !l&&r !l&&!r condition
41 184 5 0 $nonquoting_generator ||= 'SQL::Translator::Generator::DDL::SQLite'->new('quote_chars', [])
548 4 0 $NO_QUOTES ? $nonquoting_generator ||= 'SQL::Translator::Generator::DDL::SQLite'->new('quote_chars', []) : $quoting_generator ||= 'SQL::Translator::Generator::DDL::SQLite'->new
99 0 0 3 $head || ()
101 1 0 6 $head || ()
218 2 0 27 scalar @pk_fields > 1 or @pk_fields and not grep(/INTEGER PRIMARY KEY/, @field_defs)
297 12 1 0 $index->name || "${index_table_name}_idx"
317 14 1 0 $c->name || "${index_table_name}_idx"