Branch Coverage

blib/lib/Text/MarkdownTable.pm
Criterion Covered Total %
branch 36 38 94.7


line true false branch
53 29 1 defined $_ ? :
77 34 3 if (ref $_[0])
78 33 1 if ref $_[0] eq 'ARRAY'
79 1 0 if ref $_[0] eq 'HASH'
87 1 0 if (ref $fields and ref $fields eq 'HASH')
94 17 7 unless ($self->fields)
101 5 17 if (not $self->streaming and $self->condense || $self->_fixed_width)
103 4 1 if $self->header
114 6 41 if ($self->_fixed_width) { }
115 4 2 if (not $width or $w > $width)
116 2 2 if ($width > 5) { }
123 6 35 if not $width or $w > $width
135 7 17 if ($self->streaming) { }
145 13 5 if ($$self{'_rows'})
146 12 1 if $self->header
156 3 8 if ($self->condense) { }
5 3 elsif ($self->edges) { }
170 4 9 if ($_[0]->condense) { }
6 3 elsif ($_[0]->edges) { }