| blib/lib/Pod/Markdown.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 33 | 43 | 76.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 154 | 308 | 7 | 2 | defined $self->local_module_url_prefix and $self->local_module_url_prefix eq "" |
| 315 | 1 | 1 | defined $self->local_module_url_prefix and $self->local_module_url_prefix eq "" and not $self->escape_url | |
| 375 | 5 | 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 | 52 | 9 | $format ||= "pod_simple_xhtml" |
| 286 | 9882 | 304 | $self->{'_Pod_Markdown_'} ||= {"indent", 0, "stacks", [], "states", [{}], "link", [], "encode_amp", 1, "encode_lt", 1} |
| 649 | 12 | 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 | 12 | 0 | 0 | $HTML::Entities::char2entity{$chr} || HTML::Entities::num_entity($chr) |
| 86 | 0 | 7 | 0 | $entities{chr $_[0]} || sprintf('#x%X', $_[0]) |
| 167 | 641 | 234 | 2 | $URL_PREFIXES{$_[0]} || $_[0] |
| 1053 | 6 | 0 | 0 | $page || $to |