Branch Coverage

blib/lib/Class/ReluctantORM/Driver/SQLite.pm
Criterion Covered Total %
branch 0 110 0.0


line true false branch
77 0 0 if ($brand eq 'SQLite')
82 0 0 if ($maj == 3) { }
0 0 elsif ($maj == 2) { }
100 0 0 if ($DEBUG > 1)
121 0 0 if ($driver->_sl_must_split_sql($sql, $hints)) { }
133 0 0 if ($sql->operation eq 'SELECT') { }
0 0 elsif (0 == $sql->output_columns) { }
143 0 0 if ($sql->operation eq 'INSERT')
146 0 0 if (@pk_columns > 1)
156 0 0 unless ($oc->expression->is_column and $oc->is_primary_key)
187 0 0 if ($original_statement->operation eq 'INSERT') { }
212 0 0 if ($original_statement->operation eq 'INSERT') { }
218 0 0 $original_statement->where ? :
230 0 0 $_->expression->is_column ? :
236 0 0 $original_output->expression->is_column ? :
270 0 0 if ($sql->output_columns)
288 0 0 if ($DEBUG)
290 0 0 unless ($$hints{'already_transformed'})
318 0 0 if ($sql->operation eq 'INSERT' and $$hints{'set_pk_from_last_insert_id'})
338 0 0 if ($table->schema)
373 0 0 if ($sql->output_columns)
408 0 0 if (@outputs == 1 and $outputs[0]->is_primary_key) { }
0 0 elsif (@outputs == 0) { }
426 0 0 if ($sql->input_subquery) { }
444 0 0 if ($sql->output_columns)
472 0 0 if ($sql->order_by->columns)
476 0 0 if (defined $sql->limit)
478 0 0 if (defined $sql->offset)
496 0 0 if ($oc->alias)
534 0 0 unless ($where)
551 0 0 if ($exp->is_param) { }
0 0 elsif ($exp->is_column) { }
0 0 elsif ($exp->is_literal) { }
0 0 elsif ($exp->is_function_call) { }
0 0 elsif ($exp->is_subquery) { }
557 0 0 if (looks_like_number $val) { }
587 0 0 if ($use_column_alias and $col->alias) { }
0 0 elsif ($table) { }
0 0 elsif ($use_table_alias == 4) { }
590 0 0 if ($use_table_alias == 1) { }
0 0 elsif ($use_table_alias == 0) { }
0 0 elsif ($use_table_alias == 4) { }
598 0 0 if ($make_column_alias and $col->alias)
603 0 0 if ($make_column_alias and $col->alias)
617 0 0 if ($alias_mode == 1 and $table->alias)
621 0 0 if ($table->schema)
635 0 0 if ($rel->is_leaf_relation) { }
636 0 0 if ($rel->is_table) { }
643 0 0 if ($rel->is_join) { }
655 0 0 if ($rel->alias)
692 0 0 if (exists $FUNCTION_RENDERERS{$func->name}) { }
708 0 0 if ($sql->limit)
775 0 0 unless ($base_table->is_table)
781 0 0 unless ($base_table->is_the_same_table($table))
788 0 0 unless ($base_table->is_the_same_table($table))