| 1 | package Acme::Cow::Frogs; | ||||||||||||||||||||
| 2 | |||||||||||||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | |||||||||||||||||||||
| 5 | 1 | ▶ | use Acme::Cow; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 6 | |||||||||||||||||||||
| 7 | 1 | @Acme::Cow::Frogs::ISA = qw(Acme::Cow); | |||||||||||||||||||
| 8 | |||||||||||||||||||||
| 9 | 1 | my $frogs = <<'EOC'; | |||||||||||||||||||
| 10 | {$balloon} | ||||||||||||||||||||
| 11 | {$tr} | ||||||||||||||||||||
| 12 | {$tr} | ||||||||||||||||||||
| 13 | oO)-. .-(Oo | ||||||||||||||||||||
| 14 | /__ _\ /_ __\ | ||||||||||||||||||||
| 15 | \ \( | ()~() | )/ / | ||||||||||||||||||||
| 16 | \__|\ | (-___-) | /|__/ | ||||||||||||||||||||
| 17 | ' '--' ==`-'== '--' ' | ||||||||||||||||||||
| 18 | EOC | ||||||||||||||||||||
| 19 | |||||||||||||||||||||
| 20 | sub new | ||||||||||||||||||||
| 21 | { | ||||||||||||||||||||
| 22 | 1 | ▶ | my $proto = shift; | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.2
Pod
documented
| |||||||||||||||||||||
| 23 | 1 | ▶ | my $class = ref $proto || $proto; | ||||||||||||||||||
|
Condition33%1/3
ref $proto || $proto
MC/DC0%0/2
ref $proto || $proto
ref $proto
$proto
Truth table33%1/3
A || B
A= ref $protoB= $proto
| |||||||||||||||||||||
| 24 | 1 | my $self = $class->SUPER::new(); | |||||||||||||||||||
| 25 | 1 | $self->over(46); | |||||||||||||||||||
| 26 | 1 | return bless $self, $class; | |||||||||||||||||||
| 27 | } | ||||||||||||||||||||
| 28 | |||||||||||||||||||||
| 29 | sub as_string | ||||||||||||||||||||
| 30 | { | ||||||||||||||||||||
| 31 | 2 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
as_string: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||
| 32 | 2 | return $self->SUPER::as_string($frogs); | |||||||||||||||||||
| 33 | } | ||||||||||||||||||||
| 34 | |||||||||||||||||||||
| 35 | 1 | 1; | |||||||||||||||||||