Condition Coverage

blib/lib/DBD/PgPP.pm
Criterion Covered Total %
condition 9 74 12.1


and 3 conditions

line !l l&&!r l&&r condition
257 0 0 0 not $old and $new
0 0 0 not $old and $new and $never_set
0 0 0 not $old and $new
0 0 0 $old and not $new
0 0 0 not $old || $new and $never_set
297 0 0 0 not ref $attr and $attr ne ''
320 0 0 0 $use_cache and exists $$db{'pgpp_liicache'}{$cache_key}
542 0 0 0 $curr and $curr == $value
747 119 5 10 $comment_depth and m[\G( .*? ) (?= /\* | \*/)]cgmsx
119 2 3 $comment_depth and m[\G( \*/ )]cgmsx
772 11 4 4 @tokens > 1 and $tokens[-1] eq ''

or 2 conditions

line l !l condition
107 0 0 $user ||= ''
108 0 0 $password ||= ''
567 0 0 $args{'path'} || '/tmp'
0 0 $args{'port'} || 5432
0 0 $args{'database'} || $ENV{'USER'} || ''
0 0 $args{'user'} || $ENV{'USER'} || ''
0 0 $args{'password'} || ''
0 0 $args{'args'} || ''
0 0 $args{'tty'} || ''
0 0 $args{'timeout'} || 60
1080 0 0 $length ||= 0
1154 0 0 $$pgsql{'password'} || ''
1195 0 0 $$pgsql{'password'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
36 0 0 0 $drh ||= DBI::_new_drh("${class}::dr", {'Name', 'PgPP', 'Version', $VERSION, 'Err', \(my $err = 0), 'Errstr', \(my $errstr = ''), 'State', \(my $state = undef), 'Attribution', 'DBD::PgPP by Hiroyuki OYAMA'}, {})
69 0 0 0 $var eq 'hostname' or $var eq 'host'
0 0 0 $var eq 'db' or $var eq 'dbname'
257 0 0 0 $old || $new
0 0 0 $old and not $new or not $old || $new and $never_set