Branch Coverage

blib/lib/Org/To/HTML.pm
Criterion Covered Total %
branch 20 66 30.3


line true false branch
112 2 0 if ($args{'source_file'}) { }
0 0 elsif (defined $args{'source_str'}) { }
138 0 2 if ($args{'target_file'}) { }
152 1 3 unless ($self->naked)
164 0 1 if @title_settings
171 1 0 if ($self->css_url)
182 1 3 unless ($self->naked)
195 8 13 $args{'elem'}->can('is_inline') && $args{'elem'}->is_inline ? :
255 0 0 if ($type eq 'D') { }
0 0 elsif ($type eq 'O') { }
0 0 elsif ($type eq 'U') { }
269 0 0 if ($elem->desc_term) { }
275 0 0 if ($elem->check_state)
279 0 0 if ($elem->desc_term)
285 0 0 if $elem->children
287 0 0 if ($elem->desc_term) { }
361 0 8 if ($style eq 'B') { }
0 8 elsif ($style eq 'I') { }
0 8 elsif ($style eq 'U') { }
0 8 elsif ($style eq 'S') { }
0 8 elsif ($style eq 'C') { }
0 8 elsif ($style eq 'V') { }
370 0 8 if $tag
373 8 0 if ($self->{'_prev_elem_is_inline'})
378 0 8 if $elem->children
379 0 8 if $tag
407 0 0 if ($inline_images and $looks_like_image) { }
413 0 0 unless $s and $s->isa("Org::Element::Setting")
424 0 0 unless $s and $s->isa("Org::Element::Setting")
430 0 0 defined $img_base ? :
432 0 0 if defined $caption
437 0 0 if defined $caption
442 0 0 if ($elem->description) { }