| 1 | 1 | ▶ | use 5.008; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | |||||||||||||
| 5 | package Pod::Weaver::Section::BugsAndLimitations; | ||||||||||||
| 6 | # ABSTRACT: Add a BUGS AND LIMITATIONS pod section | ||||||||||||
| 7 | 1 | our $VERSION = '1.20'; # VERSION | |||||||||||
| 8 | 1 | ▶ | use Moose; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 9 | 1 | with 'Pod::Weaver::Role::Section'; | |||||||||||
| 10 | |||||||||||||
| 11 | 1 | ▶ | use namespace::autoclean; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 12 | 1 | ▶ | use Moose::Autobox; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 13 | |||||||||||||
| 14 | |||||||||||||
| 15 | 0 | ▶ | sub weave_section { | ||||||||||
|
Subroutine
weave_section: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 16 | 0 | my ($self, $document, $input) = @_; | |||||||||||
| 17 | my $bugtracker = $input->{zilla}->distmeta->{resources}{bugtracker}{web} | ||||||||||||
| 18 | 0 | ▶ | || 'http://rt.cpan.org'; | ||||||||||
|
Condition0%0/2
$input->{'zilla'}->distmeta->{'resources'}{'bugtracker'}{'web'} || 'http://rt.cpan.org'
MC/DC0%0/1
$input->{'zilla'}->distmeta->{'resources'}{'bugtracker'}{'web'} || 'http://rt.cpan.org'
$input->{'zilla'}->distmeta->{'resources'}{'bugtracker'}{'web'}
Truth table0%0/2
A
A= $input->{'zilla'}->distmeta->{'resources'}{'bugtracker'}{'web'}
| |||||||||||||
| 19 | 0 | $document->children->push( | |||||||||||
| 20 | Pod::Elemental::Element::Nested->new( | ||||||||||||
| 21 | { command => 'head1', | ||||||||||||
| 22 | content => 'BUGS AND LIMITATIONS', | ||||||||||||
| 23 | children => [ | ||||||||||||
| 24 | Pod::Elemental::Element::Pod5::Ordinary->new( | ||||||||||||
| 25 | { content => <<EOPOD, | ||||||||||||
| 26 | You can make new bug reports, and view existing ones, through the | ||||||||||||
| 27 | web interface at L<$bugtracker>. | ||||||||||||
| 28 | EOPOD | ||||||||||||
| 29 | } | ||||||||||||
| 30 | ), | ||||||||||||
| 31 | ], | ||||||||||||
| 32 | } | ||||||||||||
| 33 | ), | ||||||||||||
| 34 | ); | ||||||||||||
| 35 | } | ||||||||||||
| 36 | |||||||||||||
| 37 | 1 | 1; | |||||||||||
| 38 | |||||||||||||
| 39 | __END__ | ||||||||||||