Condition Coverage

blib/lib/App/Tables/Excel.pm
Criterion Covered Total %
condition 0 48 0.0


and 2 conditions

line l !l condition
175 0 0 defined $tables and scalar @$tables

and 3 conditions

line !l l&&!r l&&r condition
47 0 0 0 $h > 0 and $h < 4
52 0 0 0 defined $sheetNames and ref $sheetNames eq 'ARRAY'
0 0 0 defined $sheetIndices and ref $sheetIndices eq 'ARRAY'
74 0 0 0 scalar keys %sheetsName and not defined $sheetsName{$$sheet{'Name'}}
75 0 0 0 scalar keys %sheetsIndex and not defined $sheetsIndex{$num}
76 0 0 0 defined $$sheet{'MinRow'} and defined $$sheet{'MaxRow'}
0 0 0 defined $$sheet{'MinRow'} and defined $$sheet{'MaxRow'} and defined $$sheet{'MinCol'}
0 0 0 defined $$sheet{'MinRow'} and defined $$sheet{'MaxRow'} and defined $$sheet{'MinCol'} and defined $$sheet{'MaxRow'}
140 0 0 0 ref $colors eq 'ARRAY' and scalar @$colors == 3
191 0 0 0 not defined $myColor and defined $prevColors
194 0 0 0 not defined $myPortrait and defined $prevPortrait

or 2 conditions

line l !l condition
120 0 0 $with{'headers_are'} ||= 'built'
126 0 0 $with{$_} ||= undef

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 0 $$sheet{'MaxRow'} ||= $$sheet{'MinRow'}
80 0 0 0 $$sheet{'MaxCol'} ||= $$sheet{'MinCol'}
121 0 0 0 $with{'format'} ||= do { $file =~ /[.]((xls)x)$/; $1 ? 2007 : ($2 ? 2003 : die(q[can't guess the excel version])) }