Condition Coverage

blib/lib/Spreadsheet/XLSX/Utility2007.pm
Criterion Covered Total %
condition 79 189 41.8


and 3 conditions

line !l l&&!r l&&r condition
149 0 4314 0 defined $iDblQ and $iDblQ
0 4314 0 defined $iQ and $iQ
6 838 0 $iFmtMode != 2 and $sWk eq '-' || $sWk eq '(' || $sWk eq ')'
151 0 0 0 $iFmtMode != 2 and substr($sFmtObj, $i, 2) eq "\201\242" || substr($sFmtObj, $i, 2) eq "\201\243" || substr($sFmtObj, $i, 2) eq "\242\244" || substr($sFmtObj, $i, 2) eq "\242\245"
192 0 0 0 $iBunFlg and substr($sFmtObj, $i, 1) =~ /[0-9]/
260 1 0 2 substr($sFmtObj, $i, 2) eq 'mm' and $#aRep >= 0
1 2 0 substr($sFmtObj, $i, 2) eq 'mm' and $#aRep >= 0 and $aRep[$#aRep][0] eq 'h' || $aRep[$#aRep][0] eq 'hh'
267 3 0 0 substr($sFmtObj, $i, 2) eq 'ss' and $#aRep > 0
278 1 0 0 substr($sFmtObj, $i, 1) eq 'm' and $#aRep >= 0
1 0 0 substr($sFmtObj, $i, 1) eq 'm' and $#aRep >= 0 and $aRep[$#aRep][0] eq 'h' || $aRep[$#aRep][0] eq 'hh'
285 1 0 0 substr($sFmtObj, $i, 1) eq 's' and $#aRep > 0
318 160 786 836 defined $sType and $sType eq 'Text'
319 1780 0 2 $iFmtMode == 2 and $iData =~ /$sNUMEXP/
836 0 944 $iFmtMode == 1 and $iData =~ /$sNUMEXP/
637 0 0 0 $iYear % 4 == 0 && ($iYear % 100 || $iYear % 400 == 0)
720 87 28 0 $iYear % 4 == 0 && ($iYear % 100 || $iYear % 400 == 0)
822 0 0 0 $1 and $2
857 0 0 0 $1 and $2

or 3 conditions

line l !l&&r !l&&!r condition
43 0 0 4964 $iDblQ or $iQ
149 0 0 4314 defined $iDblQ and $iDblQ or defined $iQ and $iQ
0 0 838 $sWk eq '-' || $sWk eq '(' || $sWk eq ')'
3470 0 844 $sWk =~ /[#0\+\.\?eE\,\%]/ or $iFmtMode != 2 and $sWk eq '-' || $sWk eq '(' || $sWk eq ')'
151 0 0 0 substr($sFmtObj, $i, 2) eq "\201\242" || substr($sFmtObj, $i, 2) eq "\201\243" || substr($sFmtObj, $i, 2) eq "\242\244" || substr($sFmtObj, $i, 2) eq "\242\245"
214 0 0 0 substr($sFmtObj, $i, 1) eq '(' or substr($sFmtObj, $i, 1) eq ')'
233 0 0 5 substr($sFmtObj, $i, 4) eq 'mmmm' or substr($sFmtObj, $i, 4) eq 'dddd'
0 1 4 substr($sFmtObj, $i, 4) eq 'mmmm' or substr($sFmtObj, $i, 4) eq 'dddd' or substr($sFmtObj, $i, 4) eq 'yyyy'
1 0 4 substr($sFmtObj, $i, 4) eq 'mmmm' or substr($sFmtObj, $i, 4) eq 'dddd' or substr($sFmtObj, $i, 4) eq 'yyyy' or substr($sFmtObj, $i, 4) eq 'ggge'
0 0 4 substr($sFmtObj, $i, 3) eq 'mmm' or substr($sFmtObj, $i, 3) eq 'yyy'
0 2 2 substr($sFmtObj, $i, 2) eq 'yy' or substr($sFmtObj, $i, 2) eq 'mm'
2 1 1 substr($sFmtObj, $i, 2) eq 'yy' or substr($sFmtObj, $i, 2) eq 'mm' or substr($sFmtObj, $i, 2) eq 'dd'
3 0 1 substr($sFmtObj, $i, 2) eq 'yy' or substr($sFmtObj, $i, 2) eq 'mm' or substr($sFmtObj, $i, 2) eq 'dd' or substr($sFmtObj, $i, 2) eq 'hh'
1 0 1 substr($sFmtObj, $i, 2) eq 'yy' or substr($sFmtObj, $i, 2) eq 'mm' or substr($sFmtObj, $i, 2) eq 'dd' or substr($sFmtObj, $i, 2) eq 'hh' or substr($sFmtObj, $i, 2) eq 'ss'
0 0 1 substr($sFmtObj, $i, 2) eq 'yy' or substr($sFmtObj, $i, 2) eq 'mm' or substr($sFmtObj, $i, 2) eq 'dd' or substr($sFmtObj, $i, 2) eq 'hh' or substr($sFmtObj, $i, 2) eq 'ss' or substr($sFmtObj, $i, 2) eq 'ge'
0 0 1 substr($sFmtObj, $i, 1) eq 'm' or substr($sFmtObj, $i, 1) eq 'd'
0 1 0 substr($sFmtObj, $i, 1) eq 'm' or substr($sFmtObj, $i, 1) eq 'd' or substr($sFmtObj, $i, 1) eq 'h'
1 0 0 substr($sFmtObj, $i, 1) eq 'm' or substr($sFmtObj, $i, 1) eq 'd' or substr($sFmtObj, $i, 1) eq 'h' or substr($sFmtObj, $i, 1) eq 's'
260 1 0 1 $aRep[$#aRep][0] eq 'h' || $aRep[$#aRep][0] eq 'hh'
268 0 0 0 $aRep[$#aRep - 1][0] eq 'm' or $aRep[$#aRep - 1][0] eq 'mm'
278 0 0 0 $aRep[$#aRep][0] eq 'h' || $aRep[$#aRep][0] eq 'hh'
286 0 0 0 $aRep[$#aRep - 1][0] eq 'm' or $aRep[$#aRep - 1][0] eq 'mm'
442 80 0 3314 $sItem eq 'E' or $sItem eq 'e'
480 0 0 1501 $rItem->[0] eq "\242\244" or $rItem->[0] eq "\242\245"
0 0 1501 $rItem->[0] eq "\242\244" or $rItem->[0] eq "\242\245" or $rItem->[0] eq "\201\242"
0 0 1501 $rItem->[0] eq "\242\244" or $rItem->[0] eq "\242\245" or $rItem->[0] eq "\201\242" or $rItem->[0] eq "\201\243"
0 0 1501 $rItem->[0] eq '(' or $rItem->[0] eq ')'
677 0 0 0 $iM == 1 or $iM == 3
0 0 0 $iM == 1 or $iM == 3 or $iM == 5
0 0 0 $iM == 1 or $iM == 3 or $iM == 5 or $iM == 7
0 0 0 $iM == 1 or $iM == 3 or $iM == 5 or $iM == 7 or $iM == 8
0 0 0 $iM == 1 or $iM == 3 or $iM == 5 or $iM == 7 or $iM == 8 or $iM == 10
0 0 0 $iM == 1 or $iM == 3 or $iM == 5 or $iM == 7 or $iM == 8 or $iM == 10 or $iM == 12
0 0 0 $iM == 4 or $iM == 6
0 0 0 $iM == 4 or $iM == 6 or $iM == 9
0 0 0 $iM == 4 or $iM == 6 or $iM == 9 or $iM == 11
726 2 1 9 $iMon == 1 or $iMon == 3
3 1 8 $iMon == 1 or $iMon == 3 or $iMon == 5
2 1 7 $iMon == 1 or $iMon == 3 or $iMon == 5 or $iMon == 7
2 1 6 $iMon == 1 or $iMon == 3 or $iMon == 5 or $iMon == 7 or $iMon == 8
2 1 5 $iMon == 1 or $iMon == 3 or $iMon == 5 or $iMon == 7 or $iMon == 8 or $iMon == 10
2 0 5 $iMon == 1 or $iMon == 3 or $iMon == 5 or $iMon == 7 or $iMon == 8 or $iMon == 10 or $iMon == 12
1 1 3 $iMon == 4 or $iMon == 6
2 1 2 $iMon == 4 or $iMon == 6 or $iMon == 9
2 1 1 $iMon == 4 or $iMon == 6 or $iMon == 9 or $iMon == 11