blib/lib/DBIx/Custom/Model.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 24 | 45.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
61 | 0 | 0 | 8 | defined $opt{'id'} || defined $self->{'id'} and defined $opt{'primary_key'} || defined $self->{'primary_key'} |
85 | 0 | 0 | 0 | $self->{'dbh'} and my $dbh_method = $self->dbh->can($mname) |
line | l | !l | condition |
---|---|---|---|
63 | 0 | 8 | $opt{'option'} || {} |
84 | 18 | 15 | $self->{'_methods'} ||= {} |
119 | 21 | 0 | $self->table || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
61 | 8 | 0 | 0 | defined $opt{'id'} || defined $self->{'id'} |
0 | 8 | 0 | defined $opt{'primary_key'} || defined $self->{'primary_key'} | |
119 | 3 | 21 | 0 | $table ||= $self->table || '' |
121 | 6 | 18 | 0 | $columns ||= $self->columns |