Branch Coverage

blib/lib/Text/MarkdownTable.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
54 16 1 defined $_ ? :
65 22 3 if (ref $_[0])
66 21 1 if ref $_[0] eq 'ARRAY'
67 1 0 if ref $_[0] eq 'HASH'
75 1 0 if (ref $fields and ref $fields eq 'HASH')
82 11 4 unless ($self->fields)
89 14 1 unless ($self->_streaming)
90 4 10 if ($self->condense or $self->_fixed_width)
104 6 23 if ($self->_fixed_width) { }
105 4 2 if (not $width or $w > $width)
106 2 2 if ($width > 5) { }
113 5 18 if not $width or $w > $width
125 5 10 if ($self->_streaming) { }
135 8 4 if ($$self{'_rows'})
146 3 4 if ($self->condense) { }
159 3 4 $_[0]->condense ? :