Condition Coverage

blib/lib/ETL/Yertl/Command/ysql.pm
Criterion Covered Total %
condition 16 20 80.0


or 2 conditions

line l !l condition
286 17 7 config()->{$db_key} || {}

or 3 conditions

line l !l&&r !l&&!r condition
62 5 7 3 @args or grep {defined $_;} @opt{'dsn', 'driver', 'database', 'host', 'port', 'user', 'password'}
79 2 5 5 $opt{'dsn'} || shift @args
146 17 2 1 $db_key or $opt{'dsn'}
169 0 0 2 -t *STDIN || -z *STDIN
181 1 0 1 not $query or $new_query ne $query
239 0 12 2 -t *STDIN || -z *STDIN