blib/lib/Map/Tube/Singapore.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Map::Tube::Singapore;
2  
3 # Pragmas.
4 12 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 12 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 12 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 # Modules.
9 12 ▶use File::Share ':all';
Subroutine BEGIN: called CC=1 SCAR=0.0
10 12 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 12 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 # Version.
14 our $VERSION = 0.02;
15  
16 # Get XML.
17 has xml => (
18 'is' => 'ro',
19 'default' => sub {
20 return dist_file('Map-Tube-Singapore', 'singapore-map.xml');
21 },
22 );
23  
24 with 'Map::Tube';
25  
26 1;
27  
28 __END__
↑ Summary