Condition Coverage

File:blib/lib/Data/Phrasebook/Loader/DBI.pm
Coverage:88.9%

line%coveragecondition
115100
ABdec
0X0
100
111
$$self{'file'}{'dbcolumns'} and scalar @{$$self{'file'}{'dbcolumns'};} >= 2
11967
ABdec
000
011
1X1
$$self{'dbh'} ||= do { croak('No DSN specified for a database connection') unless $$self{'file'}{'dsn'}; croak('DB user details missing') unless $$self{'file'}{'dbuser'} and $$self{'file'}{'dbpass'}; 'DBI'->connect($$self{'file'}{'dsn'}, $$self{'file'}{'dbuser'}, $$self{'file'}{'dbpass'}, {'RaiseError', 1, 'AutoCommit', 1}) }
122100
ABdec
0X0
100
111
$$self{'file'}{'dbuser'} and $$self{'file'}{'dbpass'}