Condition Coverage

blib/lib/Text/Table/Span.pm
Criterion Covered Total %
condition 48 90 53.3


and 3 conditions

line !l l&&!r l&&r condition
87 20 0 17 defined $x and defined $y
91 13 2 2 $entry->[0] == $y and $entry->[1] == $x
149 0 9 1 $$bottom_borders[$y + $ir - 2] and $ir > 1
254 6 0 1 $_->[0] == $rownum and $_->[1] == $colnum
256 6 0 1 $_->[0] == $rownum and $_->[1] == $colnum
267 2 1 9 $ir == 1 and $ic == 1
281 7 0 3 $rownum + $ir - 1 == 0 and $args{'header_row'}
390 1 0 2 defined $cell_right && _exptable_cell_is_head($cell_right)
400 3 0 1 $ir == 0 && $args{'header_row'}
426 3 0 1 $ir == 0 && $args{'header_row'}
440 2 0 1 $ir == 0 && $args{'header_row'}
450 2 0 1 $ir == 0 && $args{'header_row'}
458 0 3 6 $ir < $M - 1 && $ic < $N - 1
517 1 0 0 $ir == 0 && $args{'header_row'}

or 2 conditions

line l !l condition
137 9 0 _get_attr('align', $y, $x, $cell, $table_args) // 'left'
138 0 9 _get_attr('valign', $y, $x, $cell, $table_args) // 'top'
163 0 1 $args{'border_style'} // 'ASCII::SingleLineDoubleAfterHeader'
164 1 0 $args{'cell_attrs'} // []
231 1 3 $exptable->[$rownum] //= []
353 12 1 $_->[3] // 0

or 3 conditions

line l !l&&r !l&&!r condition
34 2 0 10 $_[0][5] or $_[0][6]
233 3 1 0 @{$exptable->[$rownum];} == 0 or defined $exptable->[$rownum][-1]
239 0 4 0 $exptable_bottom_borders->[$rownum] //= $args{'separate_rows'} ? 1 : 0
386 1 0 0 length $b_topleft or length $b_topline
1 0 0 length $b_topleft or length $b_topline or length $b_topbetwcol
0 0 0 length $b_topleft or length $b_topline or length $b_topbetwcol or length $b_topright
445 3 0 0 length $b_betwrowleft or length $b_betwrowline
3 0 0 length $b_betwrowleft or length $b_betwrowline or length $b_betwrowbetwcol
0 0 0 length $b_betwrowleft or length $b_betwrowline or length $b_betwrowbetwcol or length $b_betwrowright
522 1 0 0 length $b_botleft or length $b_botline
1 0 0 length $b_botleft or length $b_botline or length $b_botbetwcol
0 0 0 length $b_botleft or length $b_botline or length $b_botbetwcol or length $b_botright