blib/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 17 | 88.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
96 | 281 | 14 | 1861 | $num_pk == 1 and defined $pk_col |
295 | 1211 | 650 | $num_pk == 1 and defined $pk_col and $pk_col eq $col | |
260 | 0 | 0 | 2278 | $info->{'TABLE_SCHEM'} eq $table_schema && $info->{'TABLE_NAME'} eq $table->name |
line | l | !l | condition |
---|---|---|---|
93 | 87 | 2069 | eval { do { ${$info->{'default_value'};} } } || '' |
120 | 98 | 1228 | $rels[$fk->{'id'}] ||= {"local_columns", [], "remote_columns", undef, "remote_table", "DBIx::Class::Schema::Loader::Table"->new("loader", $self, "name", $fk->{'table'}, $self->db_schema ? ("schema", $self->db_schema->[0], "ignore_schema", 1) : ())} |
133 | 98 | 1228 | $rel->{'attrs'} ||= {"on_delete", uc $fk->{'on_delete'}, "on_update", uc $fk->{'on_update'}} |
171 | 1088 | 28 | $remote_col ||= "" |