Branch Coverage

blib/lib/Spreadsheet/XLSX/Fmt2007.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
69 836 0 if not defined $sCode or $sCode eq "_native_"
80 0 0 if (not defined $sFmtStr and defined $rhFmt)
83 0 0 unless $sFmtStr
97 1622 0 unless (defined $sFmtStr)
98 784 838 if ($oCell->{'Type'} eq 'Numeric') { }
2 836 elsif ($oCell->{'Type'} eq 'Date') { }
99 395 389 if ($oCell->{'Format'}) { }
242 147 elsif (int $oCell->{'Val'} != $oCell->{'Val'}) { }
107 2 0 if ($oCell->{'Format'}) { }
0 0 elsif (int $oCell->{'Val'} <= 0) { }
129 836 786 if ($oCell->{'Type'} eq 'Text') { }
130 836 0 defined $oCell->{'Val'} && $oCell->{'Val'} ne '' ? :
144 0 0 if ($iNumeric) { }
145 0 0 if ($iFmtIdx >= 14 and $iFmtIdx <= 22 or $iFmtIdx >= 45 and $iFmtIdx <= 47) { }