Metro/Graph/Transfer.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Metro/Cmd.pm ↑ Summary Metro/Types.pm »
1 14 ▶use 5.10.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 14 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 14 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Map::Metro::Graph::Transfer;
6  
7 # ABSTRACT: Moving between two stations without a connection between them
8 14 our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9 14 our $VERSION = '0.2405';
10  
11 14 ▶use Map::Metro::Elk;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 14 ▶use Types::Standard qw/Int/;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 14 ▶use Map::Metro::Types qw/Station/;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 14 has origin_station => (
16 is => 'ro',
17 isa => Station,
18 required => 1,
19 );
20 14 has destination_station => (
21 is => 'ro',
22 isa => Station,
23 required => 1,
24 );
25 14 has weight => (
26 is => 'ro',
27 isa => Int,
28 default => 5,
29 );
30  
31 14 __PACKAGE__->meta->make_immutable;
32  
33 14 1;
34  
35 __END__
« Metro/Cmd.pm ↑ Summary Metro/Types.pm »