Branch Coverage

blib/lib/Excel/Writer/XLSX/Utility.pm
Criterion Covered Total %
branch 22 42 52.3


line true false branch
67 93 7182 $_[2] ? :
68 95 7180 $_[3] ? :
90 1 2854 unless $cell
94 700 2154 $1 eq '' ? :
96 702 2152 $3 eq '' ? :
126 182 7867 $_[1] ? :
196 26 122 if ($sheetname =~ /\W/ and not $sheetname =~ /^'/)
274 0 0 unless @_
292 0 0 if $date > 59
306 13 1 if ($time =~ /(\d+):(\d\d):?((?:\d\d)(?:\.\d+)?)?(?:\s+)?(am|pm)?/i) { }
314 2 11 if $hours == 12 and $meridian ne ''
317 2 11 if $meridian eq 'pm'
363 0 0 unless @_
370 0 0 if ($date =~ s/(\d+:\d\d:?(\d\d(\.\d+)?)?(\s+)?(am|pm)?)//i)
375 0 0 if $date =~ /^\s*$/
379 0 0 unless @date
391 0 0 unless @_
398 0 0 if ($date =~ s/(\d+:\d\d:?(\d\d(\.\d+)?)?(\s+)?(am|pm)?)//i)
403 0 0 if $date =~ /^\s*$/
407 0 0 unless @date
421 1 3 if ($date < 1462) { }