lib/Game/HeroesVsAliens/Mouse.pm

filter: Statementstmt 80.0% 8 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 1 / 3 Podpod n/a totaltotal 69.2% 9 / 13 CC 1 SCAR 5.1
CC
1
Cov
80%
__ANON__
2.0
__ANON__
2.0
BEGIN
1.0
CRAP 1.7
« script/HeroesVsAliens.pl ↑ Summary lib/Game/HeroesVsAliens/Role/ResourceDirectory.pm »
1 package Game::HeroesVsAliens::Mouse;
2  
3 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 has x => (
6 is => 'rw'
7 );
8  
9 1 has y => (
10 is => 'rw'
11 );
12  
13 has width => (
14 is => 'rw',
15 0 ▶ default => sub { 0.1 }
Subroutine __ANON__: not called CC=1 SCAR=6.9
16 1 );
17  
18 has height => (
19 is => 'rw',
20 0 ▶ default => sub { 0.1 }
Subroutine __ANON__: not called CC=1 SCAR=6.9
21 1 );
22  
23 1 1;
« script/HeroesVsAliens.pl ↑ Summary lib/Game/HeroesVsAliens/Role/ResourceDirectory.pm »