Condition Coverage

blib/lib/Term/Table/Cell.pm
Criterion Covered Total %
condition 20 26 76.9


and 3 conditions

line !l l&&!r l&&r condition
43 190 0 0 $props{'no_newline'} and $char eq "\n"

or 2 conditions

line l !l condition
60 141 0 $self->{'_widths'} ||= {}
68 8 129 shift @parts || ''
78 4 593 $self->{'border_left'} || ''
83 4 593 $self->{'border_right'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
44 158 32 0 $CHAR_MAP{$char} || $class->char_id($char)
78 20 4 593 $self->{'_widths'}{'left'} ||= uni_length($self->{'border_left'} || '')
83 20 4 593 $self->{'_widths'}{'right'} ||= uni_length($self->{'border_right'} || '')
88 0 129 12 $self->{'_widths'}{'all'} ||= &sum(map({$self->$_;} 'value_width', 'border_left_width', 'border_right_width'))
93 340 136 0 $self->{'_break'} ||= 'Term::Table::LineBreak'->new('string', $self->{'value'})