| blib/lib/Pod/Site.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 39 | 62 | 62.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 122 | 0 | 14 | 0 | $shebang and $shebang =~ /^#!.*\bperl/ |
| 329 | 2 | 0 | 2 | -e $dest and not $$self{"replace_$ext"} |
| 340 | 62 | 493 | 1 | $desc && $encoding |
| 1 | 555 | 0 | not $desc && $encoding and $_ = <$fh> | |
| 345 | 0 | 15 | 1 | $desc and $encoding |
| 349 | 16 | 0 | 0 | $self->{'verbose'} and not $desc |
| 571 | 2 | 6 | 0 | $to && $search->name2path->{$to} |
| 573 | 2 | 0 | 2 | $id and not $to |
| line | l | !l | condition |
|---|---|---|---|
| 350 | 16 | 0 | $desc || '' |
| 480 | 6 | 4 | $$mods{shift @names} ||= {} |
| 482 | 0 | 4 | $data->{$_} ||= {} |
| 517 | 2 | 0 | $self->bin_files || {} |
| 570 | 6 | 2 | $flags->{'to'} || '' |
| 576 | 2 | 0 | $self->title || $self->default_title || '' |
| 582 | 70 | 0 | $self->force_title || $self->title || $self->default_title || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 355 | 1 | 2 | 0 | $self->{'sample_module'} ||= $self->main_module |
| 360 | 14 | 2 | 0 | $self->{'main_module'} ||= $self->_find_module |
| 370 | 4 | 2 | 0 | $self->{'title'} ||= join(' ', $self->name, $self->versioned_title ? $self->version : (), $self->label ? $self->label : ()) |
| 390 | 0 | 1 | 0 | $self->{'version'} ||= $info->version |
| 442 | 2 | 0 | 11 | $opts{'help'} or $opts{'man'} |
| 498 | 6 | 8 | 0 | $desc ||= $self->get_desc($class, $fn) |
| 573 | 4 | 0 | 4 | $url or $id and not $to |
| 576 | 4 | 2 | 0 | $to ||= $self->title || $self->default_title || '' |