| 1 | package Pod::Simple::PullParserTextToken; | ||||||||||||||||||||
| 2 | 10 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 3 | 10 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | 10 | ▶ | use Pod::Simple::PullParserToken (); | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 5 | 10 | our @ISA = ('Pod::Simple::PullParserToken'); | |||||||||||||||||||
| 6 | 10 | our $VERSION = '3.48'; | |||||||||||||||||||
| 7 | |||||||||||||||||||||
| 8 | 244 | ▶ | sub new { # Class->new(text); | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=8.1
Pod
undocumented
| |||||||||||||||||||||
| 9 | 244 | my $class = shift; | |||||||||||||||||||
| 10 | 244 | ▶ | return bless ['text', @_], ref($class) || $class; | ||||||||||||||||||
|
Condition33%1/3
ref $class || $class
MC/DC0%0/2
ref $class || $class
ref $class
$class
Truth table33%1/3
A || B
A= ref $classB= $class
| |||||||||||||||||||||
| 11 | } | ||||||||||||||||||||
| 12 | |||||||||||||||||||||
| 13 | # Purely accessors: | ||||||||||||||||||||
| 14 | |||||||||||||||||||||
| 15 | 318 | ▶ | sub text { (@_ == 2) ? ($_[0][1] = $_[1]) : $_[0][1] } | ||||||||||||||||||
|
Subroutine
text: called CC=2 SCAR=7.6
Pod
documented
Branch: 1 branch
| |||||||||||||||||||||
| 16 | |||||||||||||||||||||
| 17 | 1 | ▶ | sub text_r { \ $_[0][1] } | ||||||||||||||||||
|
Subroutine
text_r: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||
| 18 | |||||||||||||||||||||
| 19 | 10 | 1; | |||||||||||||||||||
| 20 | |||||||||||||||||||||
| 21 | __END__ | ||||||||||||||||||||