Branch Coverage

blib/lib/Text/MarkdownTable.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
54 19 1 defined $_ ? :
67 26 3 if (ref $_[0])
68 25 1 if ref $_[0] eq 'ARRAY'
69 1 0 if ref $_[0] eq 'HASH'
77 1 0 if (ref $fields and ref $fields eq 'HASH')
84 13 6 unless ($self->fields)
91 17 2 unless ($self->_streaming)
92 5 12 if ($self->condense or $self->_fixed_width)
94 4 1 if $self->header
106 6 29 if ($self->_fixed_width) { }
107 4 2 if (not $width or $w > $width)
108 2 2 if ($width > 5) { }
115 5 24 if not $width or $w > $width
127 7 12 if ($self->_streaming) { }
137 9 5 if ($$self{'_rows'})
138 8 1 if $self->header
148 3 4 if ($self->condense) { }
161 4 5 $_[0]->condense ? :