Branch Coverage

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


line true false branch
111 2 0 if ($args{'source_file'}) { }
0 0 elsif (defined $args{'source_str'}) { }
137 0 2 if ($args{'target_file'}) { }
151 1 3 unless ($self->naked)
163 0 1 if @title_settings
170 1 0 if ($self->css_url)
181 1 3 unless ($self->naked)
194 8 13 $args{'elem'}->can('is_inline') && $args{'elem'}->is_inline ? :
254 0 0 if ($type eq 'D') { }
0 0 elsif ($type eq 'O') { }
0 0 elsif ($type eq 'U') { }
268 0 0 if ($elem->desc_term) { }
274 0 0 if ($elem->check_state)
278 0 0 if ($elem->desc_term)
284 0 0 if $elem->children
286 0 0 if ($elem->desc_term) { }
360 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') { }
369 0 8 if $tag
372 8 0 if ($self->{'_prev_elem_is_inline'})
377 0 8 if $elem->children
378 0 8 if $tag
406 0 0 if ($inline_images and $looks_like_image) { }
412 0 0 unless $s and $s->isa("Org::Element::Setting")
423 0 0 unless $s and $s->isa("Org::Element::Setting")
429 0 0 defined $img_base ? :
431 0 0 if defined $caption
436 0 0 if defined $caption
441 0 0 if ($elem->description) { }