Condition Coverage

blib/lib/Text/Table/More.pm
Criterion Covered Total %
condition 69 101 68.3


and 3 conditions

line !l l&&!r l&&r condition
146 206 0 1199 defined $x and defined $y
150 185 38 32 $entry->[0] == $y and $entry->[1] == $x
209 42 83 10 $$bottom_borders[$y + $ir - 2] and $ir > 1
329 16 2 3 $_->[0] == $rownum and $_->[1] == $colnum
331 16 2 3 $_->[0] == $rownum and $_->[1] == $colnum
346 15 9 125 $ir == 1 and $ic == 1
358 89 14 32 $rownum + $ir - 1 == 0 and $header_row > 0
497 21 2 25 defined $cell_right && _exptable_cell_is_head($cell_right)
561 0 31 51 $ir < $M - 1 && $ic < $N - 1

or 2 conditions

line l !l condition
196 18 107 _get_attr("align", $y, $x, $cell, $table_args) // "left"
197 9 116 _get_attr("valign", $y, $x, $cell, $table_args) // "top"
222 13 9 $args{'header_row'} //= 0
223 0 22 $args{'pad_char'} //= " "
224 1 21 $args{'hpad'} //= 1
225 1 21 $args{'vpad'} //= 0
231 0 22 (($args{'border_style'} // $ENV{'PERL_TEXT_TABLE_MORE_BORDER_STYLE'}) // $ENV{'BORDER_STYLE'}) // "ASCII::SingleLineDoubleAfterHeader"
232 3 19 $args{'cell_attrs'} // []
306 9 52 $exptable->[$rownum] //= []
456 149 6 $_->[3] // 0

or 3 conditions

line l !l&&r !l&&!r condition
93 15 0 134 $_[0][5] or $_[0][6]
231 0 0 22 $args{'border_style'} // $ENV{'PERL_TEXT_TABLE_MORE_BORDER_STYLE'}
0 0 22 ($args{'border_style'} // $ENV{'PERL_TEXT_TABLE_MORE_BORDER_STYLE'}) // $ENV{'BORDER_STYLE'}
308 52 9 0 @{$exptable->[$rownum];} == 0 or defined $exptable->[$rownum][-1]
314 0 35 26 $exptable_bottom_borders->[$rownum] //= $args{'separate_rows'} ? $separator_type : 0
393 9 112 4 _get_attr("lpad", $exptable_rownum, $exptable_colnum, $cell, \%args) // $hpad
394 9 112 4 _get_attr("rpad", $exptable_rownum, $exptable_colnum, $cell, \%args) // $hpad
396 5 4 116 _get_attr("tpad", $exptable_rownum, $exptable_colnum, $cell, \%args) // $vpad
397 5 4 116 _get_attr("bpad", $exptable_rownum, $exptable_colnum, $cell, \%args) // $vpad
493 21 0 0 length $b_topleft or length $b_topline
21 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
550 31 0 0 length $b_betwrowleft or length $b_betwrowline
31 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
625 21 0 0 length $b_botleft or length $b_botline
21 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