blib/lib/EntityModel/Query/Field.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 20 | 40.0 |
line | true | false | branch |
---|---|---|---|
43 | 4 | 13 | if (ref $_[0] eq 'HASH') { } |
0 | 13 | elsif (ref $_[0] and $_[0]->isa('EntityModel::Field')) { } | |
13 | 0 | elsif (@_ == 1 and not ref $_[0]) { } | |
47 | 4 | 0 | if (ref $v) { } |
75 | 0 | 0 | unless defined $v and $v ne 'undef' |
76 | 0 | 0 | if $self->field and $self->field->type ~~ ['int', 'bigint', 'serial', 'bigserial', 'numeric'] |
89 | 8 | 26 | if exists $$self{'sql'} |
90 | 26 | 0 | if exists $$self{'name'} |
92 | 0 | 0 | if $self->table |
93 | 0 | 0 | $alias ? : |