Condition Coverage

lib/Spreadsheet/Write/WriteXLS.pm
Criterion Covered Total %
condition 11 23 47.8


and 3 conditions

line !l l&&!r l&&r condition
123 12 0 8 defined $props->{'font_weight'} and $props->{'font_weight'} eq 'bold'
126 12 0 8 defined $props->{'font_style'} and $props->{'font_style'} eq 'italic'
129 20 0 0 defined $props->{'font_decoration'} and $props->{'font_decoration'} =~ /underline/
132 20 0 0 defined $props->{'font_decoration'} and $props->{'font_decoration'} =~ /strikeout/
159 20 0 0 defined $props->{'comment'} and length $props->{'comment'}

or 2 conditions

line l !l condition
13 0 0 $args{'file'} || $args{'filename'} || die('Need filename.')
16 0 2 $args{'sheet'} || ''
17 2 0 $args{'styles'} || {}
167 12 12 $props->{'type'} || 'auto'