Branch Coverage

blib/lib/Spreadsheet/XLSX/Fmt2007.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
64 836 0 if not defined $sCode or $sCode eq "_native_"
75 0 0 if (not defined $sFmtStr and defined $rhFmt)
78 0 0 unless $sFmtStr
93 0 1622 if $oCell->{'Val'} =~ /^#/
95 1622 0 unless (defined $sFmtStr)
96 784 838 if ($oCell->{'Type'} eq 'Numeric') { }
2 836 elsif ($oCell->{'Type'} eq 'Date') { }
97 395 389 if ($oCell->{'Format'}) { }
242 147 elsif (int $oCell->{'Val'} != $oCell->{'Val'}) { }
105 2 0 if ($oCell->{'Format'}) { }
0 0 elsif (int $oCell->{'Val'} <= 0) { }
127 836 786 if ($oCell->{'Type'} eq 'Text') { }
128 836 0 defined $oCell->{'Val'} && $oCell->{'Val'} ne '' ? :
142 0 0 if ($iNumeric) { }
143 0 0 if ($iFmtIdx >= 14 and $iFmtIdx <= 22 or $iFmtIdx >= 45 and $iFmtIdx <= 47) { }