| blib/lib/DBD/PgLite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 64 | 42.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 124 | 1 | 1 | 4 | not $val and $tn =~ /_+[a-z]*$/l |
| 151 | 0 | 1 | 4 | $rc and $rc > 0 |
| 153 | 0 | 0 | 1 | $rc and $rc > 0 |
| 196 | 0 | 0 | 2 | $rc and $rc > 0 |
| 1161 | 0 | 1 | 1 | @args and $sql =~ /\$\d/l |
| 1167 | 0 | 0 | 2 | $res and @$res |
| 1234 | 0 | 1 | 0 | $dbh and $$dbh{'D'} |
| 1235 | 0 | 0 | 0 | $x and $$x{'D'} |
| 1411 | 0 | 0 | 12 | $real and $alias |
| 1427 | 0 | 0 | 42 | $res and ref $res eq 'ARRAY' |
| 1439 | 0 | 26 | 2 | $from_clause and $from_clause =~ /\([^\)]*\b$col{$c}[1]\b[^\)]*\)/l |
| line | l | !l | condition |
|---|---|---|---|
| 208 | 4 | 0 | $mode ||= 'both' |
| 209 | 3 | 1 | $chars ||= " \n\t\r" |
| 244 | 2 | 0 | $fill ||= ' ' |
| 1247 | 18 | 29 | $attr ||= {} |
| 1337 | 161 | 0 | $attr ||= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 37 | 162 | 0 | 0 | $Time ||= &Time::HiRes::time() |
| 432 | 0 | 1 | 0 | $now ||= Time() |
| 1328 | 0 | 0 | 0 | $$dbh{'prefilter'}($sql) || $sql |
| 1329 | 1 | 0 | 0 | $$attr{'prefilter'}($sql) || $sql |
| 1342 | 161 | 0 | 0 | $$dbh{'FilterSQL'} or $$attr{'FilterSQL'} |
| 1454 | 0 | 0 | 0 | $$dbh{'postfilter'}($sql) || $sql |
| 1455 | 1 | 0 | 0 | $$attr{'postfilter'}($sql) || $sql |