blib/lib/DBIx/ORM/Declarative.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 40 | 35.0 |
line | l | !l | condition |
---|---|---|---|
191 | 0 | 0 | carp('missing schema argument') and return |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 3 | 0 | 2 | $table_methods{$table} and not $method |
46 | 1 | 0 | 0 | $join_methods{$join} and not $method |
109 | 0 | 13 | 0 | not exists $args{'handle'} and 'DBI'->can('connect') |
13 | 0 | 0 | not exists $args{'handle'} and 'DBI'->can('connect') and $args{'dsn'} | |
176 | 0 | 0 | 0 | $schema and $self->can($schema) |
209 | 0 | 1 | 0 | $sub eq 'DBIx::ORM::Declarative::import' and $pkg ne 'main' |
line | l | !l | condition |
---|---|---|---|
108 | 0 | 13 | delete $args{'debug'} || $self->debug_level || 0 |
160 | 0 | 0 | $_[0] || 0 |
163 | 0 | 6 | $$self{'__debug_level'} || 0 |
189 | 0 | 1 | delete $args{'limit_clause'} || 'LIMIT %offset%,%count%' |
195 | 1 | 0 | delete $args{'tables'} || [] |
196 | 1 | 0 | delete $args{'joins'} || [] |
197 | 0 | 1 | delete $args{'table_aliases'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
94 | 0 | 0 | 0 | ref $obj || $obj |
106 | 6 | 7 | 0 | ref $self || $self |