Pod/PodSimpleHTML.pm

filter: Statementstmt 73.6% 14 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 100% 1 / 1 totaltotal 76.0% 19 / 25 CC 1 SCAR 1.8
CC
1
Cov
74%
resolve_pod_page_link
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Pod.pm ↑ Summary Pod/HTML.pm »
1 =head1 NAME
2  
3 Apache2::Pod::PodSimpleHTML - Pod::Simple::HTML subclass for Apache2::Pod::HTML
4  
5 =head1 VERSION
6  
7 The version is sucked in from whatever
8 L<Pod::Simple::HTML> version is installed.
9  
10 =head1 SYNOPSIS
11  
12 Used by L<Apache2::Pod::HTML>.
13  
14 I don't understand what this is for or why we use it,
15 but I'm cleaning up errors because the old name is
16 already indexed by someone else on CPAN.
17  
18 =head1 METHODS
19  
20 =head2 resolve_pod_page_link
21  
22 We override this to return the link using URI::Escape.
23  
24 =head1 SEE ALSO
25  
26 L<Apache2::Pod>
27  
28 L<Apache2::Pod::HTML>
29  
30 =head1 AUTHOR
31  
32 Theron Lewis C<< <theron at theronlewis dot com> >>
33  
34 Mark Hedges C<< <hedges 831*&#@& scriptdolphin blop org > >>
35  
36 =head1 LICENSE
37  
38 This package is licensed under the same terms as Perl itself.
39  
40 =cut
41  
42 package Apache2::Pod::PodSimpleHTML;
43  
44 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
45 2 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
46 2 ▶use base qw( Pod::Simple::HTML );
Subroutine BEGIN: called CC=1 SCAR=0.0
47  
48 2 *VERSION = *Pod::Simple::HTML::VERSION;
49  
50 2 ▶use URI::Escape;
Subroutine BEGIN: called CC=1 SCAR=0.0
51  
52  
53 0 ▶sub resolve_pod_page_link {
Subroutine resolve_pod_page_link: not called CC=1 SCAR=6.9
Pod documented
54 0 my $self = shift;
55 0 my $to = shift;
56 0 my $section = shift;
57  
58 0 my $link = $to;
59  
60 0 return uri_escape( $link );
61 }
62  
63 2 1;
« Pod.pm ↑ Summary Pod/HTML.pm »