blib/lib/DBIx/Mint/Table.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 34 | 58.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
13 | 1 | 0 | 2 | ref $_[0] and ref $_[0] eq 'DBIx::Mint' |
35 | 2 | 2 | 2 | ref $_[0] and ref $_[0] eq 'DBIx::Mint' |
55 | 2 | 0 | 2 | $_[0] and ref $_[0] eq 'DBIx::Mint' |
127 | 0 | 1 | 2 | ref $set and ref $where |
199 | 3 | 0 | 2 | ref $proto and $res |
218 | 40 | 1 | 6 | ref $_[0] and ref $_[0] eq 'DBIx::Mint' |
line | l | !l | condition |
---|---|---|---|
188 | 2 | 0 | delete $$data{'_name'} || '_DEFAULT' |
282 | 0 | 2 | $instance //= '_DEFAULT' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
65 | 10 | 0 | 0 | $mint->schema->for_class($class) || croak("A schema definition for class $class is needed to use DBIx::Mint::Table") |
124 | 3 | 0 | 0 | $mint->schema->for_class($class) || croak("A schema definition for class $class is needed to use DBIx::Mint::Table") |
137 | 7 | 0 | 0 | $mint->schema->for_class($class) || croak("A schema definition for class $class is needed to use DBIx::Mint::Table") |
192 | 5 | 0 | 0 | $mint->schema->for_class($class) || croak("A schema definition for class $class is needed to use DBIx::Mint::Table") |