Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
122 12 0 8 defined $props->{'font_weight'} and $props->{'font_weight'} eq 'bold'
125 12 0 8 defined $props->{'font_style'} and $props->{'font_style'} eq 'italic'
128 20 0 0 defined $props->{'font_decoration'} and $props->{'font_decoration'} =~ /underline/
131 20 0 0 defined $props->{'font_decoration'} and $props->{'font_decoration'} =~ /strikeout/
158 20 0 0 defined $props->{'comment'} and length $props->{'comment'}

or 2 conditions

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