Branch Coverage

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


line true false branch
21 0 5 if ($self->include_tags)
22 0 0 unless (defined &first(sub {
27 0 0 unless $c->isa('Org::Element::Headline')
32 0 0 unless $elem->isa('Org::Element::Headline')
37 0 0 unless @hl_included
40 0 0 unless @children
43 0 5 if ($self->exclude_tags)
45 0 0 if defined &first(sub {
54 0 4 if ($inct)
58 0 0 if (defined &first(sub {
63 0 0 unless $doc_has_include_tags
75 21 0 if ($self->can('before_export_element'))
81 0 21 if (log_is_trace())
89 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') { }
131 0 0 if $elem->children
135 0 21 if ($self->can('after_export_element'))