Condition Coverage

blib/lib/Spreadsheet/WriteExcelXML/Format.pm
Criterion Covered Total %
condition 18 20 90.0


and 3 conditions

line !l l&&!r l&&r condition
367 5 2 42 $self->{'_fg_color'} == 0 and $self->{'_bg_color'} == 0
7 19 23 $self->{'_fg_color'} == 0 and $self->{'_bg_color'} == 0 and $self->{'_pattern'} <= 1

or 2 conditions

line l !l condition
40 215 22 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
181 3 2 21 $self->{'_text_h_align'} != 0 || $self->{'_text_v_align'} != -1 || $self->{'_indent'} != 0 || $self->{'_rotation'} != 0 || $self->{'_text_vertical'} != 0 || $self->{'_text_wrap'} != 0 || $self->{'_shrink'} != 0 || $self->{'_reading_order'} != 0
298 3 2 2 $diag_type == 1 or $diag_type == 3
302 2 2 3 $diag_type == 2 or $diag_type == 3
741 0 0 5 $rotation < -90 or $rotation > 90