Condition Coverage

blib/lib/Project/Easy/Helper/DB.pm
Criterion Covered Total %
condition 11 27 40.7


and 3 conditions

line !l l&&!r l&&r condition
65 0 5 0 $schema_file and not $dbh
151 29 0 17 /\bcreate\s+($can_created)\s+['`"]*(\w+)['`"]*/i and not /^\-\-/
167 1 3 0 $mode eq 'install' and $clean
221 0 0 0 $wait_for_delimiter ne $delimiter and $2 eq $delimiter
0 0 0 $wait_for_delimiter eq $delimiter and $2 ne $delimiter

or 2 conditions

line l !l condition
48 4 1 $$settings{'mode'} || 'update'
49 0 5 $$settings{'clean'} || 0
50 0 5 $$settings{'datasource'} || 'default'

or 3 conditions

line l !l&&r !l&&!r condition
71 5 0 0 $dbh or $schema_file
158 0 0 4 not defined $latest_version or $latest_version eq ''