blib/lib/Pod/Markdown.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 33 | 43 | 76.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
154 | 296 | 7 | 2 | defined $self->local_module_url_prefix and $self->local_module_url_prefix eq '' |
303 | 1 | 1 | defined $self->local_module_url_prefix and $self->local_module_url_prefix eq '' and not $self->escape_url | |
375 | 4 | 3 | 3 | $args{'with_meta'} and not $parser->include_meta_tags |
824 | 0 | 1 | 42 | defined $text && length $text |
1061 | 11 | 50 | 9 | defined $name and $self->is_local_module($name) |
61 | 4 | 5 | defined $name and $self->is_local_module($name) and defined $self->local_module_url_prefix |
line | l | !l | condition |
---|---|---|---|
239 | 40 | 9 | $format ||= 'pod_simple_xhtml' |
286 | 9519 | 292 | $self->{'_Pod_Markdown_'} ||= {'indent', 0, 'stacks', [], 'states', [{}], 'link', [], 'encode_amp', 1, 'encode_lt', 1} |
649 | 10 | 2 | $self->detected_encoding || $self->output_encoding || 'UTF-8' |
1053 | 6 | 0 | $part || 1 |
1120 | 3 | 0 | $section ||= 'section' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
63 | 12 | 11 | 0 | $entities{$1} || sprintf('#x%X', ord $1) |
83 | 11 | 0 | 0 | $HTML::Entities::char2entity{$chr} || HTML::Entities::num_entity($chr) |
86 | 0 | 7 | 0 | $entities{chr $_[0]} || sprintf('#x%X', $_[0]) |
167 | 617 | 234 | 2 | $URL_PREFIXES{$_[0]} || $_[0] |
1053 | 6 | 0 | 0 | $page || $to |