blib/lib/SQL/Maker/Plugin/InsertMulti.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 18 | 88.8 |
line | true | false | branch |
---|---|---|---|
14 | 0 | 8 | unless @{$args[0];} |
18 | 5 | 3 | ref $first_arg ? : |
20 | 5 | 3 | if ($is_colvals) { } |
41 | 6 | 40 | if (&Scalar::Util::blessed($val)) { } |
42 | 4 | 2 | if ($val->can('as_sql')) { } |
50 | 0 | 40 | if ref $val and $self->strict |
52 | 4 | 36 | if (not $self->strict and ref $val eq 'SCALAR') { } |
4 | 32 | elsif (not $self->strict and ref $val eq 'REF' and ref $$val eq 'ARRAY') { } | |
74 | 3 | 5 | if ($self->{'driver'} eq "mysql" and exists $opts->{'update'}) |