Condition Coverage

blib/lib/Spreadsheet/WriteExcelXML/Workbook.pm
Criterion Covered Total %
condition 5 41 12.2


and 3 conditions

line !l l&&!r l&&r condition
65 0 22 0 not ref $$self{'_filename'} and $$self{'_filename'} eq ''
305 0 0 0 defined $_[1] and $_[1] =~ /^#(\w\w)(\w\w)(\w\w)/
662 73 0 0 defined $rowmin and defined $colmin

or 2 conditions

line l !l condition
44 22 0 $_[0] || ''
184 25 52 $_[0] || ''
310 0 0 $_[0] || 0
311 0 0 $_[1] || 0
312 0 0 $_[2] || 0
313 0 0 $_[3] || 0
439 0 0 $_[0] || 1

or 3 conditions

line l !l&&r !l&&!r condition
318 0 0 0 $index < 8 or $index > 64
324 0 0 0 $red < 0 or $red > 255
0 0 0 $green < 0 or $green > 255
0 0 0 $red < 0 or $red > 255 or ($green < 0 or $green > 255)
0 0 0 $blue < 0 or $blue > 255
0 0 0 $red < 0 or $red > 255 or ($green < 0 or $green > 255) or ($blue < 0 or $blue > 255)