Branch Coverage

blib/lib/Spreadsheet/WriteExcelXML/Utility.pm
Criterion Covered Total %
branch 5 44 11.3


line true false branch
198 0 6 $_[2] ? :
199 0 6 $_[3] ? :
259 12 4 $1 eq '' ? :
261 16 0 $3 eq '' ? :
333 0 0 if ($sheetname =~ /\W/ and not $sheetname =~ /^'/)
556 0 0 unless @_
573 0 0 if $date > 59
619 0 0 if ($time =~ /(\d{1,2}):(\d\d):?((?:\d\d)(?:\.\d+)?)?(?:\s+)?(am|pm)?/i) { }
627 0 0 if $hours == 12 and $meridian ne ''
630 0 0 if $meridian eq 'pm'
682 0 0 unless defined $date
769 0 0 unless @_
776 0 0 if ($date =~ s/(\d{1,2}:\d\d:?(\d\d(\.\d+)?)?(\s+)?(am|pm)?)//i)
778 0 0 unless defined $time
782 0 0 if $date =~ /^\s*$/
786 0 0 unless @date
831 0 0 unless @_
838 0 0 if ($date =~ s/(\d{1,2}:\d\d:?(\d\d(\.\d+)?)?(\s+)?(am|pm)?)//i)
840 0 0 unless defined $time
844 0 0 if $date =~ /^\s*$/
848 0 0 unless @date
886 0 0 if ($date < 1462) { }