| blib/lib/SQL/Inserter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 27 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 214 | 4 | 14 | 15 | $_[0] and ref $_[0] |
| 376 | 1 | 1 | 16 | $table and $columns |
| 2 | 1 | 15 | $table and $columns and @$columns | |
| 392 | 9 | 5 | 1 | $self->{'buffer_counter'} and not $self->{'hash_buffer'} |
| 508 | 42 | 7 | 7 | $null and not defined $fields->{$key} |
| line | l | !l | condition |
|---|---|---|---|
| 144 | 6 | 5 | $args{'buffer'} || 100 |
| 373 | 12 | 6 | shift() || 1 |
| 487 | 10 | 28 | shift() || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 141 | 11 | 1 | 1 | $args{'dbh'} || croak('dbh parameter (db handle) required.') |
| 142 | 9 | 1 | 2 | $args{'table'} || croak('table parameter required.') |