blib/lib/Test/Pod/LinkCheck/Lite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 54 | 51.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
187 | 1881 | 0 | 46 | / \A _get_module_index_ ( .+ ) /msx and "Test::Pod::LinkCheck::Lite"->can($_) |
658 | 0 | 0 | 0 | $page =~ / \s /msx and not $self->allow_man_spaces |
745 | 4 | 1 | 4 | $link->[1]{'section'} and $self->check_external_sections |
829 | 3 | 0 | 0 | $ENV{'HOMEDRIVE'} and $ENV{'HOMEPATH'} |
913 | 1 | 0 | 1 | $self->skip_server_errors and $resp->{'status'} =~ / \A 5 /msx |
957 | 1 | 2 | 17 | -e $path and -T _ |
1020 | 0 | 48 | 0 | $err and $self->any_errata_seen |
line | l | !l | condition |
---|---|---|---|
76 | 0 | 0 | $ENV{'GIT_DIR'} || '.git' |
667 | 0 | 0 | IPC::Cmd::run('COMMAND', [('man', '-w'), @pg]) || 0 |
964 | 1 | 0 | readline $fh || '' |
975 | 10 | 1 | $bareword ||= {map({$_, 1;} @B::Keywords::Functions, @B::Keywords::Barewords)} |
988 | 237 | 0 | caller $nest or "" |
1029 | 628 | 48 | $self->{'My_Parser'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
98 | 0 | 25 | 0 | ref $class || $class |
547 | 6 | 12 | 0 | $self->{'_user_agent'} ||= "HTTP::Tiny"->new("agent", $self->agent) |
667 | 0 | 0 | 0 | $self->{'_cache'}{'man'}{join $", @pg} ||= IPC::Cmd::run('COMMAND', [('man', '-w'), @pg]) || 0 |
725 | 4 | 5 | 5 | $self->{'_cache'}{'installed'}{$module} ||= $self->_get_installed_doc_info($module) |
750 | 1 | 3 | 0 | $data->{'section'} ||= "My_Parser"->new->run($data->{'file'}, \&Test::Pod::LinkCheck::Lite::_any_errata_seen, $self, "File $data->{'file'}") |
766 | 0 | 4 | 0 | $self->{'_cache'}{'uninstalled'} ||= $self->_get_module_index |
894 | 0 | 13 | 0 | $self->{'_cache_url_response'}{$url} ||= $user_agent->head($url) |