blib/lib/Games/ABC_Path/Generator/Coord.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Games/ABC_Path/Generator/Base.pm ↑ Summary blib/lib/Games/ABC_Path/MicrosoftRand.pm »
1 package Games::ABC_Path::Generator::Coord;
2 9 $Games::ABC_Path::Generator::Coord::VERSION = '0.6.0';
3 9 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 9 ▶use integer;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 9 ▶use parent 'Games::ABC_Path::Solver::Coord';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 9 ▶use Games::ABC_Path::Solver::Constants;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14  
15 sub _from_int
16 {
17 278 ▶ my ( $class, $int ) = @_;
Subroutine _from_int: called CC=1 SCAR=0.0
18 278 return $class->new( { y => ( $int / $LEN ), x => ( $int % $LEN ) } );
19 }
20  
21  
22  
23 9 1; # End of Games::ABC_Path::Generator::Coord
24  
25 __END__
« blib/lib/Games/ABC_Path/Generator/Base.pm ↑ Summary blib/lib/Games/ABC_Path/MicrosoftRand.pm »