line |
true |
false |
branch |
150
|
4 |
9 |
if ($new)
|
172
|
0 |
20 |
unless (ref $self)
|
177
|
0 |
20 |
@_ ? :
|
179
|
0 |
20 |
unless (-f $file)
|
182
|
0 |
0 |
if ($self->verbose)
|
202
|
0 |
20 |
if ($@)
|
204
|
0 |
0 |
if $self->verbose
|
209
|
1 |
19 |
if ($parser->any_errata_seen)
|
212
|
0 |
1 |
if ($self->verbose)
|
228
|
19 |
0 |
if ($parser->doc_has_started) { }
|
231
|
7 |
12 |
if (scalar @$err > 0) { }
|
236
|
0 |
7 |
if ($self->verbose and @$diag)
|
245
|
0 |
12 |
if ($self->verbose and @$diag)
|
253
|
0 |
0 |
if ($self->verbose)
|
273
|
0 |
0 |
@_ ? :
|
275
|
0 |
0 |
unless (defined $self and ref $self)
|
276
|
0 |
0 |
if defined $self
|
284
|
0 |
0 |
unless $self->pod_ok($file)
|
301
|
0 |
0 |
defined $to ? :
|
|
0 |
0 |
defined $section ? :
|
|
0 |
17 |
if $self->verbose
|
305
|
2 |
15 |
if ($type eq 'man') { }
|
|
15 |
0 |
elsif ($type eq 'pod') { }
|
306
|
2 |
0 |
unless ($self->_known_manpage($to))
|
311
|
4 |
11 |
if (defined $to) { }
|
312
|
0 |
4 |
if (defined $section) { }
|
314
|
0 |
0 |
unless ($self->_known_podlink($to, $section))
|
317
|
0 |
0 |
if (defined $res) { }
|
318
|
0 |
0 |
if ($res) { }
|
320
|
0 |
0 |
if ($self->cpan_section_err) { }
|
334
|
3 |
1 |
unless ($self->_known_perlfunc($to))
|
336
|
2 |
1 |
unless ($self->_known_podfile($to))
|
338
|
2 |
0 |
unless ($self->_known_manpage($to))
|
341
|
2 |
0 |
if (defined $res) { }
|
342
|
1 |
1 |
unless ($res)
|
344
|
0 |
1 |
if (exists $$own_sections{$to}) { }
|
352
|
0 |
0 |
if (exists $$own_sections{$to}) { }
|
363
|
11 |
0 |
if (defined $section) { }
|
364
|
4 |
7 |
unless (exists $$own_sections{$section})
|
374
|
0 |
0 |
defined $to ? :
|
|
0 |
0 |
defined $section ? :
|
385
|
4 |
0 |
unless (exists $$cache{$func})
|
395
|
1 |
3 |
if ($$cache{$func} =~ tr/\n// > 5) { }
|
409
|
4 |
0 |
unless (exists $$cache{$page})
|
411
|
2 |
2 |
if ($page =~ /(.+)\s*\((.+)\)$/) { }
|
423
|
0 |
4 |
if ($$cache{$page} =~ tr/\n// > 5) { }
|
437
|
3 |
0 |
unless (exists $$cache{$link})
|
443
|
1 |
2 |
if (defined $filename) { }
|
451
|
0 |
14 |
if (-e $filename)
|
456
|
2 |
0 |
unless (exists $$cache{$link})
|
469
|
0 |
26 |
if ($module eq '.')
|
474
|
0 |
26 |
unless ($self->check_cpan)
|
475
|
0 |
0 |
if $self->verbose
|
480
|
9 |
17 |
if ($self->_backend_err)
|
481
|
0 |
9 |
if $self->verbose
|
488
|
6 |
11 |
if (exists $self->_cache->{'cpan'}{$module})
|
493
|
2 |
9 |
if ($self->cpan_backend eq 'CPANIDX') { }
|
|
2 |
7 |
elsif ($self->cpan_backend eq 'MetaCPAN') { }
|
|
1 |
6 |
elsif ($self->cpan_backend eq 'MetaDB') { }
|
|
3 |
3 |
elsif ($self->cpan_backend eq 'CPANPLUS') { }
|
|
2 |
1 |
elsif ($self->cpan_backend eq 'CPAN') { }
|
|
1 |
0 |
elsif ($self->cpan_backend eq 'CPANSQLite') { }
|
514
|
1 |
1 |
unless (exists $$cache{'.'})
|
520
|
0 |
1 |
if ($@)
|
521
|
0 |
0 |
if $self->verbose
|
526
|
0 |
0 |
if ($@)
|
527
|
0 |
0 |
if $self->verbose
|
528
|
0 |
0 |
if ($self->cpan_backend_auto) { }
|
529
|
0 |
0 |
if $self->verbose
|
542
|
0 |
2 |
ref $res ne 'HASH' ? :
|
|
2 |
0 |
if (ref $res ne 'HASH' ? $res->is_success : $$res{'success'}) { }
|
548
|
0 |
2 |
ref $res ne 'HASH' ? :
|
|
1 |
1 |
if (length(ref $res ne 'HASH' ? $res->decoded_content : $$res{'content'}) > 5) { }
|
557
|
0 |
2 |
if ($@)
|
558
|
0 |
0 |
if $self->verbose
|
570
|
1 |
1 |
unless (exists $$cache{'.'})
|
577
|
1 |
0 |
if ($@)
|
578
|
0 |
1 |
if $self->verbose
|
584
|
0 |
1 |
if ($@)
|
585
|
0 |
0 |
if $self->verbose
|
586
|
0 |
0 |
if ($self->cpan_backend_auto) { }
|
598
|
1 |
0 |
defined $$cache{'.'}->module($module) ? :
|
599
|
1 |
1 |
if ($@)
|
600
|
0 |
1 |
if $self->verbose
|
611
|
1 |
0 |
unless (exists $$cache{'.'})
|
618
|
1 |
0 |
if ($@)
|
619
|
0 |
1 |
if $self->verbose
|
620
|
0 |
1 |
if ($self->cpan_backend_auto) { }
|
630
|
0 |
0 |
defined $$cache{'.'}->search_packages({'package', $module}) ? :
|
639
|
3 |
0 |
unless (exists $$cache{'.'})
|
650
|
0 |
0 |
if ($cpanconfig->get_conf('source_engine') =~ /CPANIDX/)
|
659
|
3 |
0 |
if ($@)
|
660
|
0 |
3 |
if $self->verbose
|
661
|
2 |
1 |
if ($self->cpan_backend_auto) { }
|
673
|
0 |
0 |
if ($@)
|
674
|
0 |
0 |
if $self->verbose
|
675
|
0 |
0 |
if ($self->cpan_backend_auto) { }
|
683
|
0 |
0 |
if (defined $result) { }
|
697
|
3 |
1 |
unless (exists $$cache{'.'})
|
704
|
2 |
1 |
if (not $CPAN::Config_loaded and 'CPAN::HandleConfig'->can('load'))
|
711
|
1 |
2 |
if (defined $CPAN::META and %$CPAN::META) { }
|
|
0 |
2 |
elsif (not 'CPAN::Index'->can('read_metadata_cache')) { }
|
721
|
2 |
0 |
if (defined $CPAN::META and %$CPAN::META) { }
|
731
|
0 |
3 |
if ($@)
|
732
|
0 |
0 |
if $self->verbose
|
733
|
0 |
0 |
if ($self->cpan_backend_auto) { }
|
743
|
2 |
2 |
if (exists $$cache{'.'}{$module}) { }
|
757
|
1 |
0 |
unless (exists $$cache{'.'})
|
764
|
0 |
0 |
if (not $CPAN::Config_loaded and 'CPAN::HandleConfig'->can('load'))
|
772
|
1 |
0 |
if ($@)
|
773
|
0 |
1 |
if $self->verbose
|
774
|
0 |
1 |
if ($self->cpan_backend_auto) { }
|
786
|
0 |
0 |
if ($@)
|
787
|
0 |
0 |
if $self->verbose
|
788
|
0 |
0 |
if ($self->cpan_backend_auto) { }
|
796
|
0 |
0 |
if ($result) { }
|
810
|
0 |
0 |
unless defined $filename
|
814
|
0 |
0 |
if (defined $file_sections and exists $$file_sections{$section}) { }
|
825
|
0 |
0 |
unless (exists $$cache{$filename})
|
832
|
0 |
0 |
if ($@) { }
|
833
|
0 |
0 |
if $self->verbose
|