PrettyCure/Girl/Role/Five.pm

filter: Statementstmt 100% 15 / 15 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 20 / 20 CC 3 SCAR 7.9
CC
3
Cov
100%
__ANON__
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.2
« PrettyCure/Girl/Role/HeartCatch.pm ↑ Summary PrettyCure/Girl/Role/Smile.pm »
1 package Acme::PrettyCure::Girl::Role::Five;
2 5 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 5 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 15 ▶after 'transform' => sub {
Subroutine __ANON__: called CC=3 SCAR=11.0
7 15 my ($self, @buddies) = @_;
8  
9 15 for my $buddy (@buddies) {
10 8 $buddy->transform;
11 }
12  
13 15 ▶ if (scalar(@buddies) == 4) {
Branch: 1 branch
BranchTrueFalseTotal
if (scalar @buddies == 4) 2 13 15
14 2 $self->say("希望の力と、未来の光");
15 2 $self->say("華麗に羽ばたく五つの心!");
16 2 $self->say("Yes! プリキュア5!");
17 }
18 5 };
19  
20  
21 5 1;
22  
« PrettyCure/Girl/Role/HeartCatch.pm ↑ Summary PrettyCure/Girl/Role/Smile.pm »