blib/lib/App/PodLinkCheck.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 56 | 12.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
141 | 0 | 0 | 0 | !(-d $_ || m[/\.#]) && /\.p([lm]|od)$/ |
208 | 0 | 0 | 0 | defined $section and not $$own_sections{$section} |
236 | 0 | 0 | 0 | defined $section and $section ne '' |
247 | 0 | 0 | 0 | not defined $podfile || defined $section and $self->manpage_is_known($to) |
254 | 0 | 0 | 0 | not defined $section and _is_one_word($to) |
0 | 0 | 0 | not defined $section and _is_one_word($to) and $$own_sections{$to} | |
278 | 0 | 0 | 0 | defined $section and $section ne '' |
380 | 0 | 0 | 1 | not $CPAN::Config_loaded and 'CPAN::HandleConfig'->can('load') |
454 | 0 | 1 | 0 | defined $CPAN::META and %$CPAN::META |
463 | 0 | 0 | 1 | defined $CPAN::META and %$CPAN::META |
475 | 0 | 2 | 1 | $use_CPAN && exists $$CPAN::META{'readwrite'}{'CPAN::Module'}{$module} |
line | l | !l | condition |
---|---|---|---|
179 | 0 | 0 | -d $x || 0 |
0 | 0 | -d $y || 0 | |
423 | 0 | 2 | $$self{'cpan_sqlite'} || (return 0) |
501 | 0 | 2 | $$self{'cpanplus'} || (return 0) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
157 | 0 | 0 | 0 | _cmp_file_before_directory($y, $x) || lc $y cmp lc $x || $y cmp $x |
166 | 0 | 0 | 0 | _cmp_file_before_directory($y, $x) || do { $x = Sort::Key::Natural::mkkey_natural($x); $y = Sort::Key::Natural::mkkey_natural($y); $y cmp $x unless lc $y cmp lc $x } |
231 | 0 | 0 | 0 | $self->module_to_podfile($to) || $self->find_script($to) |
247 | 0 | 0 | 0 | defined $podfile || defined $section |
350 | 0 | 0 | 0 | $$self{'sections_cache'}{$filename} ||= do { my $parser = 'App::PodLinkCheck::ParseSections'->new; $parser->parse_file($filename); $parser->sections_hashref } |