| 1 | #!/usr/bin/perl | ||||||||||||
| 2 | package WWW::StatusBadge::Render::Plugin::POD; | ||||||||||||
| 3 | 1 | $WWW::StatusBadge::Render::Plugin::POD::VERSION = '0.0.2'; | |||||||||||
| 4 | 1 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | 1 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | |||||||||||||
| 7 | 0 | ▶ | sub render { | ||||||||||
|
Subroutine
render: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||
| 8 | 0 | my $self = shift; | |||||||||||
| 9 | 0 | ▶ | my $render = shift || 'html'; | ||||||||||
|
Condition0%0/2
shift() || 'html'
MC/DC0%0/1
shift() || 'html'
shift()
Truth table0%0/2
A
A= shift()
| |||||||||||||
| 10 | |||||||||||||
| 11 | 0 | return sprintf( | |||||||||||
| 12 | '=for %s %s', $render, $self->$render, | ||||||||||||
| 13 | ); | ||||||||||||
| 14 | } | ||||||||||||
| 15 | |||||||||||||
| 16 | 1 | 1; | |||||||||||
| 17 | # ABSTRACT: Plain Old Documentation Status Badge renderer | ||||||||||||
| 18 | # vim:ts=4:sw=4:syn=perl | ||||||||||||
| 19 | |||||||||||||
| 20 | __END__ | ||||||||||||