Branch Coverage

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


line true false branch
23 0 5 if ($self->include_tags)
24 0 0 unless (defined &first(sub {
29 0 0 unless $c->isa("Org::Element::Headline")
34 0 0 unless $elem->isa("Org::Element::Headline")
39 0 0 unless @hl_included
42 0 0 unless @children
45 0 5 if ($self->exclude_tags)
47 0 0 if defined &first(sub {
56 0 4 if ($inct)
60 0 0 if (defined &first(sub {
65 0 0 unless $doc_has_include_tags
77 21 0 if ($self->can("before_export_element"))
83 0 21 if (log_is_trace())
91 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') { }
133 0 0 if $elem->children
137 0 21 if ($self->can("after_export_element"))