blib/lib/Text/Table.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 31 | 70.9 |
line | l | !l | condition |
---|---|---|---|
484 | 3 | 206 | $tb->n_cols && scalar @{$tb->_cols->[0];} |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
34 | 0 | 107 | 0 | defined $datum && (ref $datum eq 'SCALAR' || ref $datum eq 'HASH' && $datum->{'is_sep'}) |
77 | 209 | 14 | 63 | defined $$ref and length $$ref |
501 | 3 | 0 | 35 | $tb->height && length(($tb->table(0))[0]) - 1 |
line | l | !l | condition |
---|---|---|---|
508 | 12 | 4 | $col_index ||= 0 |
538 | 12 | 4 | &sum(@widths) || 0 |
624 | 7 | 65 | $from ||= 0 |
852 | 0 | 0 | $toggle ||= 'on' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
136 | 1 | 91 | 0 | ref $align eq 'Regexp' or $align =~ /^(?:left|center|right|num\(?|point\(?|auto)/ |
307 | 74 | 62 | 44 | $idx == 0 || $idx == $#$seps |
391 | 0 | 0 | 15 | $@ or not $ok |
628 | 0 | 3 | 69 | $from + $n < 0 or $from >= $total |