Condition Coverage

blib/lib/DBIx/ThinSQL/Deploy.pm
Criterion Covered Total %
condition 9 21 42.8


and 3 conditions

line !l l&&!r l&&r condition
146 0 0 6 $file =~ /.+\.((sql)|(pl))$/ and -f $file
290 0 0 10 $file =~ /.+\.((sql)|(pl))$/ and -f $file

or 2 conditions

line l !l condition
171 6 6 shift() || 'default'
184 0 6 shift() || 'default'
262 0 0 shift() || 'default'

or 3 conditions

line l !l&&r !l&&!r condition
138 6 0 0 path(shift()) || confess('deploy_dir($dir)')
217 5 3 0 exists $cmd->{'sql'} or exists $cmd->{'pl'}
280 4 0 0 path(shift()) || confess('deploy_dir($dir)')