Condition Coverage

blib/lib/Spreadsheet/WriteExcel/Format.pm
Criterion Covered Total %
condition 17 41 41.4


and 3 conditions

line !l l&&!r l&&r condition
200 61 126 1159 $$self{'_xf_index'} != 0 and $$self{'_type'} == 65525
219 0 1346 0 not $$self{'_diag_border'} and $$self{'_diag_type'}
247 0 1346 0 $$self{'_pattern'} <= 1 and $$self{'_bg_color'} != 65
1346 0 0 $$self{'_pattern'} <= 1 and $$self{'_bg_color'} != 65 and $$self{'_fg_color'} == 64
256 0 0 1346 $$self{'_pattern'} <= 1 and $$self{'_bg_color'} == 65
0 1346 0 $$self{'_pattern'} <= 1 and $$self{'_bg_color'} == 65 and $$self{'_fg_color'} != 64
266 1346 0 0 $$self{'_indent'} and $$self{'_text_h_align'} == 0
513 0 1220 0 defined $_[0] and $_[0] eq 0

or 2 conditions

line l !l condition
39 1285 368 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
178 2 0 1344 $$self{'_text_h_align'} != 0 || $$self{'_text_v_align'} != 2 || $$self{'_shrink'} != 0 || $$self{'_merge_range'} != 0 || $$self{'_text_wrap'} != 0 || $$self{'_indent'} != 0
185 0 0 1346 $$self{'_bottom'} != 0 || $$self{'_top'} != 0 || $$self{'_left'} != 0 || $$self{'_right'} != 0 || $$self{'_diag_type'} != 0
191 0 0 1346 $$self{'_fg_color'} != 64 || $$self{'_bg_color'} != 65 || $$self{'_pattern'} != 0
195 0 0 1346 $$self{'_hidden'} != 0 || $$self{'_locked'} != 1
681 0 0 0 $rotation >= -90 or $rotation <= 90