Branch Coverage

blib/lib/Org/To/Base.pm
Criterion Covered Total %
branch 31 70 44.2


line true false branch
25 0 5 if ($self->include_tags)
26 0 0 unless (defined &first(sub {
31 0 0 unless $c->isa("Org::Element::Headline")
36 0 0 unless $elem->isa("Org::Element::Headline")
41 0 0 unless @hl_included
44 0 0 unless @children
47 0 5 if ($self->exclude_tags)
49 0 0 if defined &first(sub {
58 0 4 if ($inct)
62 0 0 if (defined &first(sub {
67 0 0 unless $doc_has_include_tags
79 21 0 if ($self->can("before_export_element"))
85 0 21 if (log_is_trace())
93 1 20 if ($elc eq 'Org::Element::Block') { }
1 19 elsif ($elc eq 'Org::Element::FixedWidthSection') { }
0 19 elsif ($elc eq 'Org::Element::Comment') { }
0 19 elsif ($elc eq 'Org::Element::Drawer') { }
0 19 elsif ($elc eq 'Org::Element::Footnote') { }
5 14 elsif ($elc eq 'Org::Element::Headline') { }
0 14 elsif ($elc eq 'Org::Element::List') { }
0 14 elsif ($elc eq 'Org::Element::ListItem') { }
0 14 elsif ($elc eq 'Org::Element::RadioTarget') { }
2 12 elsif ($elc eq 'Org::Element::Setting') { }
0 12 elsif ($elc eq 'Org::Element::Table') { }
0 12 elsif ($elc eq 'Org::Element::TableCell') { }
0 12 elsif ($elc eq 'Org::Element::TableRow') { }
0 12 elsif ($elc eq 'Org::Element::TableVLine') { }
0 12 elsif ($elc eq 'Org::Element::Target') { }
8 4 elsif ($elc eq 'Org::Element::Text') { }
0 4 elsif ($elc eq 'Org::Element::Link') { }
0 4 elsif ($elc eq 'Org::Element::TimeRange') { }
0 4 elsif ($elc eq 'Org::Element::Timestamp') { }
4 0 elsif ($elc eq 'Org::Document') { }
135 0 0 if $elem->children
139 0 21 if ($self->can("after_export_element"))