Condition Coverage

blib/lib/DBD/PgLite/MirrorPgToSQLite.pm
Criterion Covered Total %
condition 0 41 0.0


and 3 conditions

line !l l&&!r l&&r condition
22 0 0 0 $opt{'where'} and not $opt{'where'} =~ /^\s*where\s/i
0 0 0 $opt{'where'} and not $opt{'where'} =~ /^\s*where\s/i and not $opt{'where'} =~ /^\s*(?:natural\s+)?join\s/i
27 0 0 0 $opt{'append'} and $opt{'snapshot'}
36 0 0 0 @{$opt{'tables'};} and $fn
163 0 0 0 @$res and scalar @{$$res[0];} != $colcnt
185 0 0 0 ref $fun eq 'ARRAY' and @$fun
207 0 0 0 $@ =~ /unique/i and s/ UNIQUE / /
265 0 0 0 @pknames and $pknames[0] ne ''
283 0 0 0 -f $fn and time - (stat $fn)[9] < 604800

or 2 conditions

line l !l condition
286 0 0 $fn || []

or 3 conditions

line l !l&&r !l&&!r condition
28 0 0 0 $opt{'pg_dbh'} or $opt{'pg_dsn'}
103 0 0 0 $ENV{'PGUSER'} || $ENV{'USER'}
121 0 0 0 $defaults{'pg_dsn'} ||= "dbi:Pg:dbname=$defaults{'pg_user'}"
280 0 0 0 (getpwuid $>)[0] || $>