blib/lib/Class/DBI/Relationship/HasMany.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 19 | 21.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
103 | 0 | 0 | 0 | defined $$args{'constraint'} and ref $$args{'constraint'} eq 'HASH' |
105 | 0 | 0 | 0 | defined $$data{$k} and $$data{$k} ne $v |
139 | 0 | 0 | 0 | defined $$args{'constraint'} and ref $$args{'constraint'} eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
45 | 0 | 2 | $args ||= {} |
68 | 0 | 2 | $self->args->{'cascade'} || 'Delete' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 0 | 2 | 0 | $f_key ||= do { my $meta = $f_class->meta_info('has_a'); my($col) = grep(($$meta{$_}->foreign_class eq $class), keys %$meta); $class->table_alias unless $col } |
48 | 0 | 0 | 2 | $$args{'order_by'} ||= $$args{'sort'} |