RailRoad/Node/Half/S.pm

filter: Statementstmt 88.2% 15 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 86.9% 20 / 23 CC 1 SCAR 1.5
CC
1
Cov
88%
_transform_map
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« RailRoad/Node/Half/NW.pm ↑ Summary RailRoad/Node/Half/SE.pm »
1 #
2 # This file is part of Games-RailRoad
3 #
4 # This software is copyright (c) 2008 by Jerome Quelin.
5 #
6 # This is free software; you can redistribute it and/or modify it under
7 # the same terms as the Perl 5 programming language system itself.
8 #
9 1 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 package Games::RailRoad::Node::Half::S;
14 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 $Games::RailRoad::Node::Half::S::VERSION = '1.101330';
16 }
17 # ABSTRACT: a given type of node...
18  
19 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 extends qw{ Games::RailRoad::Node::Half };
21  
22  
23 # -- private methods
24  
25 0 ▶sub _transform_map {
Subroutine _transform_map: not called CC=1 SCAR=6.9
26 0 my $prefix = 'Games::RailRoad::Node';
27 return {
28 0 'n' => $prefix . '::Straight::N_S',
29 'ne' => $prefix . '::Straight::NE_S',
30 'nw' => $prefix . '::Straight::NW_S',
31 '-s' => $prefix,
32 };
33 }
34  
35 1 __PACKAGE__->meta->make_immutable;
36 1 1;
37  
38  
39 =pod
40  
41 =head1 NAME
42  
43 Games::RailRoad::Node::Half::S - a given type of node...
44  
45 =head1 VERSION
46  
47 version 1.101330
48  
49 =head1 DESCRIPTION
50  
51 This package provides a node object. Refer to L<Games::RailRoad::Node>
52 for a description of the various node types.
53  
54 =head1 AUTHOR
55  
56 Jerome Quelin
57  
58 =head1 COPYRIGHT AND LICENSE
59  
60 This software is copyright (c) 2008 by Jerome Quelin.
61  
62 This is free software; you can redistribute it and/or modify it under
63 the same terms as the Perl 5 programming language system itself.
64  
65 =cut
66  
67  
68 __END__
« RailRoad/Node/Half/NW.pm ↑ Summary RailRoad/Node/Half/SE.pm »