Branch Coverage

blib/lib/Spreadsheet/XLSX/Fmt2007.pm
Criterion Covered Total %
branch 15 30 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
98 0 1622 if $oCell->{'Val'} =~ /^#/
100 1622 0 unless (defined $sFmtStr)
101 784 838 if ($oCell->{'Type'} eq 'Numeric') { }
2 836 elsif ($oCell->{'Type'} eq 'Date') { }
102 395 389 if ($oCell->{'Format'}) { }
242 147 elsif (int $oCell->{'Val'} != $oCell->{'Val'}) { }
110 2 0 if ($oCell->{'Format'}) { }
0 0 elsif (int $oCell->{'Val'} <= 0) { }
132 836 786 if ($oCell->{'Type'} eq 'Text') { }
133 836 0 defined $oCell->{'Val'} && $oCell->{'Val'} ne '' ? :
147 0 0 if ($iNumeric) { }
148 0 0 if ($iFmtIdx >= 14 and $iFmtIdx <= 22 or $iFmtIdx >= 45 and $iFmtIdx <= 47) { }