| 1 | package Acme::PrettyCure::Girl::CureFlower; | ||||||||||||||||||||||||||||
| 2 | 1 | ▶ | use utf8; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 3 | 1 | ▶ | use Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 4 | 1 | ▶ | use Time::Piece; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||
| 6 | 1 | with 'Acme::PrettyCure::Girl::Role'; | |||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||
| 8 | 0 | ▶ | sub human_name {'花咲薫子'} | ||||||||||||||||||||||||||
|
Subroutine
human_name: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 9 | 0 | ▶ | sub precure_name {'キュアフラワー'} | ||||||||||||||||||||||||||
|
Subroutine
precure_name: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 10 | 0 | ▶ | sub age { 67 } | ||||||||||||||||||||||||||
|
Subroutine
age: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 11 | 0 | ▶ | sub challenge { qw(聖なる光に輝く一輪の花、キュアフラワー!) } | ||||||||||||||||||||||||||
|
Subroutine
challenge: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 12 | 0 | ▶ | sub image_url { '' } | ||||||||||||||||||||||||||
|
Subroutine
image_url: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 13 | |||||||||||||||||||||||||||||
| 14 | before 'transform' => sub { | ||||||||||||||||||||||||||||
| 15 | 1 | ▶ | my ($self,) = @_; | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=3 SCAR=12.0
| |||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||
| 17 | 1 | my $now = localtime; | |||||||||||||||||||||||||||
| 18 | 1 | ▶ | unless ( $now->mon == 12 && $now->mday == 24 ) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$now->mon == 12 and $now->mday == 24
MC/DC0%0/2
$now->mon == 12 and $now->mday == 24
$now->mon == 12
$now->mday == 24
Truth table33%1/3
A and B
A= $now->mon == 12B= $now->mday == 24
| |||||||||||||||||||||||||||||
| 19 | 1 | die "CureFlower can transform only holy night"; | |||||||||||||||||||||||||||
| 20 | } | ||||||||||||||||||||||||||||
| 21 | 1 | }; | |||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||
| 23 | 1 | 1; | |||||||||||||||||||||||||||