blib/lib/SQL/Inserter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 27 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
212 | 4 | 14 | 13 | $_[0] and ref $_[0] |
374 | 1 | 1 | 16 | $table and $columns |
2 | 1 | 15 | $table and $columns and @$columns | |
390 | 7 | 5 | 1 | $self->{'buffer_counter'} and not $self->{'hash_buffer'} |
506 | 38 | 7 | 7 | $null and not defined $fields->{$key} |
line | l | !l | condition |
---|---|---|---|
142 | 6 | 5 | $args{'buffer'} || 100 |
371 | 12 | 6 | shift() || 1 |
485 | 8 | 28 | shift() || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
139 | 11 | 1 | 1 | $args{'dbh'} || croak('dbh parameter (db handle) required.') |
140 | 9 | 1 | 2 | $args{'table'} || croak('table parameter required.') |