blib/lib/Acme/PriPara/MainMembers/HojoSophy.pm

filter: Statementstmt 100% 14 / 14 Branchbran 100% 2 / 2 Conditioncond 66.6% 2 / 3 MC/DCmcdc 50.0% 1 / 2 Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 88.4% 23 / 26 SCAR 11.0
CC
3
Cov
95%
pripara_change
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0
« blib/lib/Acme/PriPara/MainMembers.pm ↑ Summary blib/lib/Acme/PriPara.pm »
1 package Acme::PriPara::MainMembers::HojoSophy;
2 3 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 extends 'Acme::PriPara::MainMembers';
4 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶no Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 sub pripara_change { #override
9 2 ▶ my ($self, $option) = @_;
Subroutine pripara_change: called CC=3 SCAR=11.0
Pod undocumented
10 2 ▶ return unless (defined $option && $option eq 'Red Flash');
Branch: 1 branch
BranchTrueFalseTotal
unless defined $option and $option eq "Red Flash" 1 1 2
Condition66%2/3
defined $option and $option eq "Red Flash"
!ll&&!rl&&r
101
MC/DC50%1/2
defined $option and $option eq "Red Flash"
defined $option $option eq "Red Flash"
Truth table66%2/3
A and B
A= defined $optionB= $option eq "Red Flash"
ABresult
0X0
100
111
11 1 $self->{has_pripara_changed} = 1;
12 }
13  
14 3 1;
15  
16 __DATA__
« blib/lib/Acme/PriPara/MainMembers.pm ↑ Summary blib/lib/Acme/PriPara.pm »