| blib/lib/DBIx/PgLink/Local.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 47 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 44 | 0 | 0 | 0 | $r eq '' && $t |
| 110 | 0 | 0 | 0 | defined $$attr{'Slice'} and ref $$attr{'Slice'} eq 'HASH' |
| 211 | 0 | 0 | 0 | defined $pg_array and $pg_array ne '' |
| 0 | 0 | 0 | defined $pg_array and $pg_array ne '' and $pg_array ne '{}' | |
| 487 | 0 | 0 | 0 | $type =~ /^_/ and ref $param eq 'ARRAY' |
| 0 | 0 | 0 | $type eq 'HASH' and ref $param eq 'HASH' | |
| 550 | 0 | 0 | 0 | defined $result and $result eq '0' |
| 583 | 0 | 0 | 0 | defined $attr and ref $attr eq 'HASH' |
| line | l | !l | condition |
|---|---|---|---|
| 71 | 0 | 0 | eval { do { my $rv = main::spi_exec_query(q[SELECT current_setting('plperl.plan_cache_size')]); $$rv{'rows'}[0]{'current_setting'} } } || 100 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 203 | 0 | 0 | 0 | shift() || qr// |
| 295 | 0 | 0 | 0 | {'SQL_ASCII', 'ascii', 'UNICODE', 'utf8', 'KOI8', 'koi8-r', 'ALT', 'cp866', 'WIN', 'cp1251'}->{$enc} || $enc |
| 333 | 0 | 0 | 0 | $pg_current_database || ($pg_current_database = (\undef)->selectrow_array('SELECT current_database()')) |
| 401 | 0 | 0 | 0 | ref $proto || $proto |
| 417 | 0 | 0 | 0 | $t =~ /^_(.*)$/ or $t =~ /^(.*)\[\]$/ |
| 440 | 0 | 0 | 0 | $@ or not $$data{'Plan'} |
| 571 | 0 | 0 | 0 | $@ or not defined $$self{'Cursor'} |