Branch Coverage

blib/lib/Org/Element/Table.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
27 6 0 if (defined $_str and not defined $self->children)
29 6 0 unless (defined $self->_str_include_children)
38 0 20 unless $row0 =~ /\S/l
40 2 18 if ($row0 =~ /^\s*\|--+(?:\+--+)*\|?\s*$/l) { }
18 0 elsif ($row0 =~ /^\s*\|\s*(.+?)\s*\|?\s*$/l) { }
62 0 2 unless $self->children
65 8 2 if $el->isa("Org::Element::TableRow")
72 0 1 unless $self->children
75 4 1 if $el->isa("Org::Element::TableRow")
82 0 1 unless $self->children
87 1 0 if ($el->isa("Org::Element::TableRow"))
92 0 1 unless $row
96 3 0 if $el->isa("Org::Element::TableCell")
103 0 1 unless $self->children
107 1 4 unless $row->isa("Org::Element::TableRow")